This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug rtl-optimization/15853] [3.3 Regression] temporaries are not destroyed and overwritten later
- From: "bugzilla at little-bat dot de" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 7 Jun 2004 19:11:55 -0000
- Subject: [Bug rtl-optimization/15853] [3.3 Regression] temporaries are not destroyed and overwritten later
- References: <20040606184318.15853.bugzilla@little-bat.de>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From bugzilla at little-bat dot de 2004-06-07 19:11 -------
The conclusion that it has nothing to do with inlining is wrong: the error
occured with not-inlined member functions and adding -fno-inline to the
command line is just a nop. :-)
I tested a version of the test proggi where constructor & destructor are
inlined:
gcc -Wall -O2 -lstdc++ test-inlined.cpp -> a.out ok
gcc -Wall -O2 -lstdc++ -fno-inline test-inlined.cpp -> a.out BUMMER
gcc -Wall -O1 -lstdc++ -fno-inline test-inlined.cpp -> a.out ok
see <http://k1.dyndns.org/Develop/projects/gcc-error>
... kio !
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15853