public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "Hale.Wang at arm dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug rtl-optimization/64323] New: LRA: ICE when compiling newlib for ARM.
Date: Tue, 16 Dec 2014 02:12:00 -0000	[thread overview]
Message-ID: <bug-64323-4@http.gcc.gnu.org/bugzilla/> (raw)

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64323

            Bug ID: 64323
           Summary: LRA: ICE when compiling newlib for ARM.
           Product: gcc
           Version: 5.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: rtl-optimization
          Assignee: unassigned at gcc dot gnu.org
          Reporter: Hale.Wang at arm dot com

Created attachment 34287
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=34287&action=edit
This temp file is generated from newlib/newlib/libc/stdlib/dtoa.c.

When compiling the newlib stdlib for ARM, GCC 5.0 reported:

newlib/newlib/libc/stdlib/dtoa.c:862:1: error: unable to generate reloads for:
(insn 2301 287 2302 16 (set (reg:CCFP 101 vfpcc)
        (compare:CCFP (reg:DF 217 [ D.6454 ])
            (const_double:DF 0.0 [0x0.0p+0])))
.../newlib/newlib/libc/stdlib/dtoa.c:282 679 {*cmpdf_vfp}
     (nil))

/work/tools/gcc-arm-none-eabi-5_0-2014q4-20141211/src/newlib/newlib/libc/stdlib/dtoa.c:862:1:
internal compiler error: in curr_insn_transform, at lra-constraints.c:3383

The command line is:
arm-none-eabi-gcc -marm  -O2  -mfloat-abi=hard dtoa.i

I have attached the temp file 'dtoa.i'. If I added the -mno-lra option, there
was no error.


             reply	other threads:[~2014-12-16  2:12 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-12-16  2:12 Hale.Wang at arm dot com [this message]
2014-12-16  9:54 ` [Bug rtl-optimization/64323] [5 Regression] " rguenth at gcc dot gnu.org
2014-12-16  9:55 ` christophe.lyon at st dot com
2014-12-16 11:28 ` Hale.Wang at arm dot com
2014-12-16 11:33 ` Hale.Wang at arm dot com

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-64323-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).