This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug regression/32072] g++ -O3 fails on code that compiles with -O2
- From: "gcc at abeckmann dot de" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 24 May 2007 18:04:14 -0000
- Subject: [Bug regression/32072] g++ -O3 fails on code that compiles with -O2
- References: <bug-32072-14599@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #3 from gcc at abeckmann dot de 2007-05-24 19:04 -------
But why does g++ behave differently if called with different optimization
levels?
I was looking for a mcstl bug first, but since g++ accepted this code with -O2
I went for g++.
On the other hand, if this is actually a bug in mcstl (and the generated code
is invalid/incomplete/broken/whatever), shouldn't g++ reject the code
regardless of the optimization level?
--
gcc at abeckmann dot de changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|RESOLVED |UNCONFIRMED
Resolution|INVALID |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32072