This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/36861] code generation regression with -O3
- From: "lothar at tradescape dot biz" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 17 Jul 2008 16:54:24 -0000
- Subject: [Bug c++/36861] code generation regression with -O3
- References: <bug-36861-11487@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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