From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 14451 invoked by alias); 24 May 2012 22:13:01 -0000 Received: (qmail 14433 invoked by uid 22791); 24 May 2012 22:12:59 -0000 X-SWARE-Spam-Status: No, hits=-3.2 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00,SUBJ_OBFU_PUNCT_FEW,SUBJ_OBFU_PUNCT_MANY,TW_CX,TW_GC,TW_IB X-Spam-Check-By: sourceware.org Received: from localhost (HELO gcc.gnu.org) (127.0.0.1) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Thu, 24 May 2012 22:12:45 +0000 From: "jbemmel at zonnet dot nl" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/53483] New: unwind.inc:140:1: internal compiler error: in ix86_expand_epilogue, at config/i386/i386.c:11176 Date: Thu, 24 May 2012 22:17:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: jbemmel at zonnet dot nl X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Changed-Fields: Message-ID: X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated Content-Type: text/plain; charset="UTF-8" MIME-Version: 1.0 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2012-05/txt/msg02434.txt.bz2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53483 Bug #: 53483 Summary: unwind.inc:140:1: internal compiler error: in ix86_expand_epilogue, at config/i386/i386.c:11176 Classification: Unclassified Product: gcc Version: 4.6.3 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c AssignedTo: unassigned@gcc.gnu.org ReportedBy: jbemmel@zonnet.nl Created attachment 27493 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=27493 Output of -save-temps Looks like http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45206 is back: Compiling function '_Unwind_RaiseException' in unwind.inc (adapted from gcc code base) with the following flags triggers this ICE: -march=core2 -O3 -m32 -mpreferred-stack-boundary=3 -mrtd * -march=nocona also triggers it, -march=pentium does not * -mpreferred-stack-boundary=2 also triggers it, =4 does not * -O2 or -O1 also don't trigger it * -m64 or omitting -m32 fixes it too * leaving out -mrtd fixes it Commandline and preprocessed sources attached below. Note that this ICE is still present in the latest GCC SVN (different line number): code/Core/src/Exceptions/unwind.inc: In function '_Unwind_RaiseException': code/Core/src/Exceptions/unwind.inc:140:1: internal compiler error: in ix86_expand_epilogue, at config/i386/i386.c:10897 $ /usr/bin/gcc -Icode/Core/include -c code/Core/src/Exceptions/unwind-dw2.c -march=core2 -O3 -m32 -mpreferred-stack-boundary=3 -mrtd -save-temps -v Using built-in specs. COLLECT_GCC=/usr/bin/gcc Target: x86_64-redhat-linux Configured with: ../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --with-bugurl=http://bugzilla.redhat.com/bugzilla --enable-bootstrap --enable-shared --enable-threads=posix --enable-checking=release --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-gnu-unique-object --enable-linker-build-id --enable-languages=c,c++,objc,obj-c++,java,fortran,ada,go,lto --enable-plugin --enable-java-awt=gtk --disable-dssi --with-java-home=/usr/lib/jvm/java-1.5.0-gcj-1.5.0.0/jre --enable-libgcj-multifile --enable-java-maintainer-mode --with-ecj-jar=/usr/share/java/eclipse-ecj.jar --disable-libjava-multilib --with-ppl --with-cloog --with-tune=generic --with-arch_32=i686 --build=x86_64-redhat-linux Thread model: posix gcc version 4.6.3 20120306 (Red Hat 4.6.3-2) (GCC) COLLECT_GCC_OPTIONS='-I' 'code/Core/include' '-c' '-march=core2' '-O3' '-m32' '-mpreferred-stack-boundary=3' '-mrtd' '-save-temps' '-v' /usr/libexec/gcc/x86_64-redhat-linux/4.6.3/cc1 -E -quiet -v -I code/Core/include -imultilib 32 code/Core/src/Exceptions/unwind-dw2.c -march=core2 -m32 -mpreferred-stack-boundary=3 -mrtd -O3 -fpch-preprocess -o unwind-dw2.i ignoring nonexistent directory "/usr/lib/gcc/x86_64-redhat-linux/4.6.3/include-fixed" ignoring nonexistent directory "/usr/lib/gcc/x86_64-redhat-linux/4.6.3/../../../../x86_64-redhat-linux/include" #include "..." search starts here: #include <...> search starts here: code/Core/include /usr/lib/gcc/x86_64-redhat-linux/4.6.3/include /usr/local/include /usr/include End of search list. COLLECT_GCC_OPTIONS='-I' 'code/Core/include' '-c' '-march=core2' '-O3' '-m32' '-mpreferred-stack-boundary=3' '-mrtd' '-save-temps' '-v' /usr/libexec/gcc/x86_64-redhat-linux/4.6.3/cc1 -fpreprocessed unwind-dw2.i -quiet -dumpbase unwind-dw2.c -march=core2 -m32 -mpreferred-stack-boundary=3 -mrtd -auxbase unwind-dw2 -O3 -version -o unwind-dw2.s GNU C (GCC) version 4.6.3 20120306 (Red Hat 4.6.3-2) (x86_64-redhat-linux) compiled by GNU C version 4.6.3 20120306 (Red Hat 4.6.3-2), GMP version 4.3.2, MPFR version 3.0.0, MPC version 0.9 GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072 GNU C (GCC) version 4.6.3 20120306 (Red Hat 4.6.3-2) (x86_64-redhat-linux) compiled by GNU C version 4.6.3 20120306 (Red Hat 4.6.3-2), GMP version 4.3.2, MPFR version 3.0.0, MPC version 0.9 GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072 Compiler executable checksum: a832aa6a2b1e3d9f3b0f3b81987c045f In file included from code/Core/src/Exceptions/unwind-dw2.c:1587:0: code/Core/src/Exceptions/unwind.inc: In function '_Unwind_RaiseException': code/Core/src/Exceptions/unwind.inc:140:1: internal compiler error: in ix86_expand_epilogue, at config/i386/i386.c:11176 Please submit a full bug report, with preprocessed source if appropriate. See for instructions. Preprocessed source stored into /tmp/ccqFcOpp.out file, please attach this to your bugreport.