http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54337

nbhargava at google dot com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #28062|0                           |1
        is obsolete|                            |

--- Comment #3 from nbhargava at google dot com 2012-08-21 00:04:10 UTC ---
Created attachment 28063
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=28063
Linux-compatible test case

$ time g++ -O3 -c t2.cc

real    0m22.806s
user    0m22.390s
sys    0m0.330s


$ time g++ -O0 -c t2.cc

real    0m2.357s
user    0m2.260s
sys    0m0.050s

On both Linux and Mac, this type of discrepancy exists.

Reply via email to