public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "vincent-gcc at vinc17 dot net" <gcc-bugzilla@gcc.gnu.org>
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	[thread overview]
Message-ID: <bug-53789-4@http.gcc.gnu.org/bugzilla/> (raw)

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 <file:///usr/share/doc/gcc-4.3/README.Bugs> 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 <http://gcc.gnu.org/bugs.html> 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).


             reply	other threads:[~2012-06-27 20:34 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-06-27 20:34 vincent-gcc at vinc17 dot net [this message]
2012-06-28 10:01 ` [Bug target/53789] " rguenth at gcc dot gnu.org
2012-07-05 14:56 ` vincent-gcc at vinc17 dot net
2012-07-05 15:12 ` redi at gcc dot gnu.org
2012-07-05 15:21 ` redi at gcc dot gnu.org
2012-07-07  0:30 ` vincent-gcc at vinc17 dot net
2012-12-23  3:15 ` danglin at gcc dot gnu.org
2012-12-23  3:58 ` danglin at gcc dot gnu.org
2012-12-23  5:07 ` danglin at gcc dot gnu.org
2012-12-23 15:16 ` danglin at gcc dot gnu.org
2012-12-23 18:31 ` danglin at gcc dot gnu.org
2012-12-25 17:59 ` danglin at gcc dot gnu.org
2012-12-25 21:05 ` danglin at gcc dot gnu.org
2012-12-26 17:29 ` danglin at gcc dot gnu.org
2012-12-26 19:47 ` danglin at gcc dot gnu.org
2013-01-04  3:56 ` danglin at gcc dot gnu.org
2013-01-04  4:04 ` danglin at gcc dot gnu.org
2013-01-05 16:56 ` danglin at gcc dot gnu.org

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=bug-53789-4@http.gcc.gnu.org/bugzilla/ \
    --to=gcc-bugzilla@gcc.gnu.org \
    --cc=gcc-bugs@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).