public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug rtl-optimization/64323] New: LRA: ICE when compiling newlib for ARM.
@ 2014-12-16  2:12 Hale.Wang at arm dot com
  2014-12-16  9:54 ` [Bug rtl-optimization/64323] [5 Regression] " rguenth at gcc dot gnu.org
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Hale.Wang at arm dot com @ 2014-12-16  2:12 UTC (permalink / raw)
  To: gcc-bugs

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.


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2014-12-16 11:33 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-12-16  2:12 [Bug rtl-optimization/64323] New: LRA: ICE when compiling newlib for ARM Hale.Wang at arm dot com
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

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