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:08:48 +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
Stefan, Wolfgang,
I cannot reproduce this bug with yesterdays 3.3 sources for
i586-pc-linux-gnu.
Do you still see it? Maybe this one is present on 3.2 but not 3.3? If
so, this
shouldn't be marked as a 3.3/3.4 regression.
Greetz
Steven
# gcc-3.3 -v -lstdc++ test.cc -freg-struct-return -O2
Reading specs from /opt/experimental/lib/gcc-lib/i586-pc-linux-gnu/3.3/specs
Configured with: ../gcc-3.3/configure --disable-nls --with-gnu-as
--with-gnu-ld --prefix=/opt/experimental --program-suffix=-3.3
--enable-languages=c,c++
Thread model: posix
gcc version 3.3 20030311 (prerelease)
/opt/experimental/lib/gcc-lib/i586-pc-linux-gnu/3.3/cc1plus -quiet -v
-D__GNUC__=3 -D__GNUC_MINOR__=3 -D__GNUC_PATCHLEVEL__=0 -D_GNU_SOURCE
test.cc -D__GNUG__=3 -quiet -dumpbase test.cc -auxbase test -O2 -version
-freg-struct-return -o /tmp/cc1NHg6T.s
GNU C++ version 3.3 20030311 (prerelease) (i586-pc-linux-gnu)
compiled by GNU C version 3.3 20030311 (prerelease).
GGC heuristics: --param ggc-min-expand=42 --param ggc-min-heapsize=23891
ignoring nonexistent directory "/opt/experimental/i586-pc-linux-gnu/include"
#include "..." search starts here:
#include <...> search starts here:
/opt/experimental/include/c++/3.3
/opt/experimental/include/c++/3.3/i586-pc-linux-gnu
/opt/experimental/include/c++/3.3/backward
/usr/local/include
/opt/experimental/include
/opt/experimental/lib/gcc-lib/i586-pc-linux-gnu/3.3/include
/usr/include
End of search list.
as -V -Qy -o /tmp/cccnvLCd.o /tmp/cc1NHg6T.s
GNU assembler version 2.11.90.0.24 (i486-suse-linux) using BFD version
2.11.90.0.24
/opt/experimental/lib/gcc-lib/i586-pc-linux-gnu/3.3/collect2 -m
elf_i386 -dynamic-linker /lib/ld-linux.so.2 /usr/lib/crt1.o
/usr/lib/crti.o
/opt/experimental/lib/gcc-lib/i586-pc-linux-gnu/3.3/crtbegin.o
-L/opt/experimental/lib/gcc-lib/i586-pc-linux-gnu/3.3
-L/opt/experimental/lib/gcc-lib/i586-pc-linux-gnu/3.3/../../.. -lstdc++
/tmp/cccnvLCd.o -lgcc -lgcc_eh -lc -lgcc -lgcc_eh
/opt/experimental/lib/gcc-lib/i586-pc-linux-gnu/3.3/crtend.o /usr/lib/crtn.o
# LD_LIBRARY_PATH=/opt/experimental/lib/ a.out
2