From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 22980 invoked by alias); 27 Jun 2012 20:34:35 -0000 Received: (qmail 22752 invoked by uid 22791); 27 Jun 2012 20:34:33 -0000 X-SWARE-Spam-Status: No, hits=-3.6 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00 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; Wed, 27 Jun 2012 20:34:16 +0000 From: "vincent-gcc at vinc17 dot net" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/53789] New: ICE in gen_reg_rtx, at emit-rtl.c:864/865 when compiling GNU MPFR on parisc Date: Wed, 27 Jun 2012 20:34:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: vincent-gcc at vinc17 dot net 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-06/txt/msg01819.txt.bz2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53789 Bug #: 53789 Summary: ICE in gen_reg_rtx, at emit-rtl.c:864/865 when compiling GNU MPFR on parisc Classification: Unclassified Product: gcc Version: 4.4.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target AssignedTo: unassigned@gcc.gnu.org ReportedBy: vincent-gcc@vinc17.net Created attachment 27712 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=27712 preprocessed file When compiling GNU MPFR on a parisc machine (gcc61.fsffrance.org), I get an ICE (see below). This can be reproduced with: /opt/cfarm/release/4.4.1/bin/gcc -O3 tconst_pi.i where tconst_pi.i is attached. The bug is not reproducible with -O2 only. I couldn't find a similar bug report (including among the closed bugs), and there doesn't seem to be a more recent GCC version on this machine. $ ./config.status -V MPFR config.status 3.1.1-rc1 configured by ../mpfr-3.1.1-rc1/configure, generated by GNU Autoconf 2.69, with options "'--enable-assert=full' '--enable-thread-safe'" [GMP 4.2.2] $ gcc --version gcc (Debian 4.3.2-1.1) 4.3.2 $ make && make check [...] ../../mpfr-3.1.1-rc1/tests/tconst_log2.c: In function 'main': ../../mpfr-3.1.1-rc1/tests/tconst_log2.c:201: internal compiler error: in gen_reg_rtx, at emit-rtl.c:865 Please submit a full bug report, with preprocessed source if appropriate. See for instructions. make[2]: *** [tconst_log2.o] Error 1 make[2]: Leaving directory `/tmp/mpfrtests-vinc17-13638/obj/tests' make[1]: *** [check-am] Error 2 make[1]: Leaving directory `/tmp/mpfrtests-vinc17-13638/obj/tests' make: *** [check-recursive] Error 1 $ ./config.status -V MPFR config.status 3.1.1-rc1 configured by ./configure, generated by GNU Autoconf 2.69, with options "'--enable-assert=full' '--enable-thread-safe' 'CC=/opt/cfarm/release/4.4.1/bin/gcc' 'CFLAGS=-Wall -O3 -mpa-risc-1-1 -std=gnu99'" [GMP 4.2.2] $ /opt/cfarm/release/4.4.1/bin/gcc --version gcc (GCC) 4.4.1 $ make && make check [...] tconst_pi.c: In function 'main': tconst_pi.c:186: internal compiler error: in gen_reg_rtx, at emit-rtl.c:864 Please submit a full bug report, with preprocessed source if appropriate. See for instructions. make[2]: *** [tconst_pi.o] Error 1 make[2]: Leaving directory `/tmp/mpfrtests-vinc17-1115/mpfr-3.1.1-rc1/tests' make[1]: *** [check-am] Error 2 make[1]: Leaving directory `/tmp/mpfrtests-vinc17-1115/mpfr-3.1.1-rc1/tests' make: *** [check-recursive] Error 1 This also occurred with MPFR 3.0.0 and 3.1.0 (at least).