This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/36861] code generation regression with -O3



------- Comment #2 from lothar at tradescape dot biz  2008-07-17 16:54 -------
Created an attachment (id=15923)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=15923&action=view)
updated testcase

changed the test case to resemble my application a bit closer. Here it is
almost 40 times slower with -O3 than with -O0

The other strange thing with our app (that I can NOT recreate with a test case
so far) is that if I use -DUSE_OPTIMIZATION=1 in my app the -O3 compiled
version seems to go into an infinite loop.


real    0m1.586s
user    0m0.988s
sys     0m0.020s

real    0m40.963s
user    0m40.655s
sys     0m0.048s

real    0m2.457s
user    0m1.976s
sys     0m0.020s

real    0m0.291s
user    0m0.164s
sys     0m0.020s


-- 

lothar at tradescape dot biz changed:

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


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]