This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: optimization/9630: [3.2/3.3/3.4 regression] crash with -freg-struct-returnin C++ code
- From: Steven Bosscher <s dot bosscher at student dot tudelft dot nl>
- To: gcc-gnats at gcc dot gnu dot org, gcc-bugs at gcc dot gnu dot org, nobody at gcc dot gnu dot org,stefan at space dot twc dot de, bangerth at gcc dot gnu dot org
- Date: Wed, 12 Mar 2003 12:12:26 +0100
- Subject: Re: optimization/9630: [3.2/3.3/3.4 regression] crash with -freg-struct-returnin C++ code
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=9630
Oh wait... With -O and -O2 it works, but it crashes *without*
optimization... Right, hmm, OK... Ignore previous mail.
Greetz
Steven
# gcc-3.3 -lstdc++ test.cc -freg-struct-return -O
# LD_LIBRARY_PATH=/opt/experimental/lib/ a.out
2
# gcc-3.3 -lstdc++ test.cc -freg-struct-return
# LD_LIBRARY_PATH=/opt/experimental/lib/ a.out
Segmentatie fout
#