Aurora SPARC Linux release 2.90 (Aurora Corona)/TI UltraSparc IIi (Sabre) sun4u: binutils-2.17.50.0.3-6.sparc.sparc bison-2.3-2.1.sparc dejagnu-1.4.4-5.1.noarch expect-5.43.0-5.1.sparc gcc-4.1.1-30.1.sparc glibc-2.5-3.1.sparcv9 glibc-2.5-3.1.sparc64 glibc-devel-2.5-3.1.sparc glibc-devel-2.5-3.1.sparc64 glibc-headers-2.5-3.1.sparc gmp-2.4.1 (local build from gcc's infrastructure) mpfr-2.2.1 (local build from gcc's infrastructure) kernel-2.6.18-1.2798.al3.1.sparc64 libgcc-4.1.1-30.1.sparc libgcc-4.1.1-30.1.sparc64 libgcj-4.1.1-30.1.sparc libgcj-4.1.1-30.1.sparc64 libgcj-devel-4.1.1-30.1.sparc libgcj-devel-4.1.1-30.1.sparc64 libstdc++-4.1.1-30.1.sparc libstdc++-4.1.1-30.1.sparc64 libstdc++-devel-4.1.1-30.1.sparc libstdc++-devel-4.1.1-30.1.sparc64 make-3.81-1.1.sparc tcl-8.4.13-3.al3.sparc LAST_UPDATED: Obtained from SVN: tags/gcc_4_1_2_release revision 121944 Native configuration is sparc64-unknown-linux-gnu The g++ testsuite, with -m64, fails (ICE) with these two test cases: Running target unix/-m64 FAIL: tmpdir-g++.dg-struct-layout-1/t026 cp_compat_x_tst.o compile, (internal compiler error) FAIL: tmpdir-g++.dg-struct-layout-1/t026 cp_compat_y_tst.o compile, (internal compiler error) Looking at the log file, we see > FAIL: tmpdir-g++.dg-struct-layout-1/t026 cp_compat_x_tst.o compile, > (internal compiler error) [chj@arnljot g++]$ gdb /usr/local/src/branch/objdir/gcc/testsuite/g++/../../g++ GNU gdb Red Hat Linux (6.5-8.al3rh) Copyright (C) 2006 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "sparc-redhat-linux-gnu"...Using host libthread_db library "/lib/libthread_db.so.1". (gdb) set args -B/usr/local/src/branch/objdir/gcc/testsuite/g++/../../ -nostdinc++ -I/usr/local/src/branch/objdir/sparc64-unknown-linux-gnu/64/libstdc++-v3/include/sparc64-unknown-linux-gnu -I/usr/local/src/branch/objdir/sparc64-unknown-linux-gnu/64/libstdc++-v3/include -I/usr/local/src/branch/gcc/libstdc++-v3/libsupc++ -I/usr/local/src/branch/gcc/libstdc++-v3/include/backward -I/usr/local/src/branch/gcc/libstdc++-v3/testsuite -fmessage-length=0 -w -I/usr/local/src/branch/gcc/gcc/testsuite/g++.dg/compat -c -m64 -o cp_compat_x_tst.o /usr/local/src/branch/objdir/gcc/testsuite/g++/g++.dg-struct-layout-1/t026_x.C (gdb) r Starting program: /usr/local/src/branch/objdir/gcc/g++ -B/usr/local/src/branch/objdir/gcc/testsuite/g++/../../ -nostdinc++ -I/usr/local/src/branch/objdir/sparc64-unknown-linux-gnu/64/libstdc++-v3/include/sparc64-unknown-linux-gnu -I/usr/local/src/branch/objdir/sparc64-unknown-linux-gnu/64/libstdc++-v3/include -I/usr/local/src/branch/gcc/libstdc++-v3/libsupc++ -I/usr/local/src/branch/gcc/libstdc++-v3/include/backward -I/usr/local/src/branch/gcc/libstdc++-v3/testsuite -fmessage-length=0 -w -I/usr/local/src/branch/gcc/gcc/testsuite/g++.dg/compat -c -m64 -o cp_compat_x_tst.o /usr/local/src/branch/objdir/gcc/testsuite/g++/g++.dg-struct-layout-1/t026_x.C /usr/local/src/branch/objdir/gcc/testsuite/g++/g++.dg-struct-layout-1/t026_test.h: In function $-1òøvoid checkx2400(S2400)òù: /usr/local/src/branch/objdir/gcc/testsuite/g++/g++.dg-struct-layout-1/t026_test.h:1: internal compiler error: in function_arg_slotno, at config/sparc/sparc.c:4562 Please submit a full bug report, with preprocessed source if appropriate. See for instructions. Program exited with code 01. (gdb) bt No stack. (gdb) quit [chj@arnljot g++]$ > FAIL: tmpdir-g++.dg-struct-layout-1/t026 cp_compat_y_tst.o compile, > (internal compiler error) [chj@arnljot g++]$ gdb /usr/local/src/branch/objdir/gcc/testsuite/g++/../../g++ GNU gdb Red Hat Linux (6.5-8.al3rh) Copyright (C) 2006 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "sparc-redhat-linux-gnu"...Using host libthread_db library "/lib/libthread_db.so.1". (gdb) set args -B/usr/local/src/branch/objdir/gcc/testsuite/g++/../../ -nostdinc++ -I/usr/local/src/branch/objdir/sparc64-unknown-linux-gnu/64/libstdc++-v3/include/sparc64-unknown-linux-gnu -I/usr/local/src/branch/objdir/sparc64-unknown-linux-gnu/64/libstdc++-v3/include -I/usr/local/src/branch/gcc/libstdc++-v3/libsupc++ -I/usr/local/src/branch/gcc/libstdc++-v3/include/backward -I/usr/local/src/branch/gcc/libstdc++-v3/testsuite -fmessage-length=0 -w -I/usr/local/src/branch/gcc/gcc/testsuite/g++.dg/compat -c -m64 -o cp_compat_y_tst.o /usr/local/src/branch/objdir/gcc/testsuite/g++/g++.dg-struct-layout-1/t026_y.C (gdb) r Starting program: /usr/local/src/branch/objdir/gcc/g++ -B/usr/local/src/branch/objdir/gcc/testsuite/g++/../../ -nostdinc++ -I/usr/local/src/branch/objdir/sparc64-unknown-linux-gnu/64/libstdc++-v3/include/sparc64-unknown-linux-gnu -I/usr/local/src/branch/objdir/sparc64-unknown-linux-gnu/64/libstdc++-v3/include -I/usr/local/src/branch/gcc/libstdc++-v3/libsupc++ -I/usr/local/src/branch/gcc/libstdc++-v3/include/backward -I/usr/local/src/branch/gcc/libstdc++-v3/testsuite -fmessage-length=0 -w -I/usr/local/src/branch/gcc/gcc/testsuite/g++.dg/compat -c -m64 -o cp_compat_y_tst.o /usr/local/src/branch/objdir/gcc/testsuite/g++/g++.dg-struct-layout-1/t026_y.C /usr/local/src/branch/objdir/gcc/testsuite/g++/g++.dg-struct-layout-1/t026_test.h: In function $-1òøS2400 check2400(S2400, S2400*, S2400)òù: /usr/local/src/branch/objdir/gcc/testsuite/g++/g++.dg-struct-layout-1/t026_test.h:1: internal compiler error: in function_arg_slotno, at config/sparc/sparc.c:4562 Please submit a full bug report, with preprocessed source if appropriate. See for instructions. Program exited with code 01. (gdb) bt No stack. (gdb) quit [chj@arnljot g++]$ I am not able, yet, to debug further... -- Summary: internal compiler error: in function_arg_slotno, at config/sparc/sparc.c:4562 Product: gcc Version: 4.1.2 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: christian dot joensson at gmail dot com GCC build triplet: sparc64-unknown-linux-gnu GCC host triplet: sparc64-unknown-linux-gnu GCC target triplet: sparc64-unknown-linux-gnu http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31070