This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/30567] -fPIC -O3 optimizer bug (32-bit target only)
- From: "pinskia at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 24 Jan 2007 06:57:16 -0000
- Subject: [Bug c++/30567] -fPIC -O3 optimizer bug (32-bit target only)
- References: <bug-30567-3137@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #2 from pinskia at gcc dot gnu dot org 2007-01-24 06:57 -------
This works for me with "4.2.0 20061204" and "4.3.0 20070122":
[pinskia@celery pr30567]$ ~/gcc-4.2/bin/g++ -O3 -fPIC dbg.cpp
[pinskia@celery pr30567]$ !./
./a.out
1
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30567