optimization/9630: [3.2/3.3/3.4 regression] crash with -freg-struct-return in C++ code
Steven Bosscher
s.bosscher@student.tudelft.nl
Wed Mar 12 12:07:00 GMT 2003
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
#
More information about the Gcc-bugs
mailing list