Platform: Sparc Solaris 2.8 GCC version: 3.3.2 (using a package from http://www.sunfreeware.com) Exact bug message: um.cpp: In member function `void UM::_ZThn5120_N2UMD1Ev()': um.cpp:72: internal compiler error: in sparc_emit_set_const32, at config/sparc/sparc.c:1377 Please submit a full bug report, with preprocessed source if appropriate. See <URL:http://gcc.gnu.org/bugs.html> for instructions. Compilation options: just do a 'g++ -c um.ii -o um.o'
Created attachment 5300 [details] Preprocessed source C++ file (gzipped, cause it was big..) This is the preprocessed file that causes the bug. gunzip it, and then: g++ -o um.o -c um.ii To reproduce the bug
Really, really stupid bug. Fixing.
Subject: Bug 13354 CVSROOT: /cvs/gcc Module name: gcc Changes by: ebotcazou@gcc.gnu.org 2003-12-10 15:25:42 Modified files: gcc : ChangeLog gcc/config/sparc: sparc.c Log message: PR target/13354 * config/sparc/sparc.c (sparc_output_mi_thunk): Load DELTA manually if one can do that with only one instruction. Patches: http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ChangeLog.diff?cvsroot=gcc&r1=2.1972&r2=2.1973 http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/config/sparc/sparc.c.diff?cvsroot=gcc&r1=1.270&r2=1.271
Subject: Bug 13354 CVSROOT: /cvs/gcc Module name: gcc Branch: gcc-3_3-branch Changes by: ebotcazou@gcc.gnu.org 2003-12-10 15:30:42 Modified files: gcc : ChangeLog gcc/config/sparc: sparc.c Log message: PR target/13354 * config/sparc/sparc.c (sparc_output_mi_thunk): Load DELTA manually if one can do that with only one instruction. Patches: http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ChangeLog.diff?cvsroot=gcc&only_with_tag=gcc-3_3-branch&r1=1.16114.2.833&r2=1.16114.2.834 http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/config/sparc/sparc.c.diff?cvsroot=gcc&only_with_tag=gcc-3_3-branch&r1=1.233.4.7&r2=1.233.4.8
See http://gcc.gnu.org/ml/gcc-patches/2003-12/msg00839.html