public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/62177] New: mips-rtems ICE at lra_assigns.c:1335 compiling strtod.c in newlib
@ 2014-08-18 22:33 joel at gcc dot gnu.org
  2014-08-20 22:05 ` [Bug rtl-optimization/62177] " joel at gcc dot gnu.org
  0 siblings, 1 reply; 2+ messages in thread
From: joel at gcc dot gnu.org @ 2014-08-18 22:33 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 62177
           Summary: mips-rtems ICE at lra_assigns.c:1335 compiling
                    strtod.c in newlib
           Product: gcc
           Version: 5.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c
          Assignee: unassigned at gcc dot gnu.org
          Reporter: joel at gcc dot gnu.org
              Host: x86_64-unknown-linux-gnu
            Target: mips-rtems4.11

Created attachment 33358
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=33358&action=edit
Preprocessed newlib strtod.c source to reproduce issue

Fails at -O2. Builds at -O1.

Works: /users/joel/test-gcc/b-mips-rtems4.11-gcc/./gcc/xgcc
-B/users/joel/test-gcc/b-mips-rtems4.11-gcc/./gcc/ -fno-builtin -mips3      -g
-O2 -c mips_bug.c 

Adding -EL results in a failure.


Full command:

/users/joel/test-gcc/b-mips-rtems4.11-gcc/./gcc/xgcc
-B/users/joel/test-gcc/b-mips-rtems4.11-gcc/./gcc/ -nostdinc
-B/users/joel/test-gcc/b-mips-rtems4.11-gcc/mips-rtems4.11/mips3/el/newlib/
-isystem
/users/joel/test-gcc/b-mips-rtems4.11-gcc/mips-rtems4.11/mips3/el/newlib/targ-include
-isystem /users/joel/test-gcc/gcc/newlib/libc/include
-B/users/joel/test-gcc/install-head/mips-rtems4.11/bin/
-B/users/joel/test-gcc/install-head/mips-rtems4.11/lib/ -isystem
/users/joel/test-gcc/install-head/mips-rtems4.11/include -isystem
/users/joel/test-gcc/install-head/mips-rtems4.11/sys-include  -mips3 -EL
-DPACKAGE_NAME=\"newlib\" -DPACKAGE_TARNAME=\"newlib\"
-DPACKAGE_VERSION=\"2.1.0\" -DPACKAGE_STRING=\"newlib\ 2.1.0\"
-DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -I.
-I../../../../../../../gcc/newlib/libc/stdlib -D_COMPILING_NEWLIB
-DMALLOC_PROVIDED -DEXIT_PROVIDED -DSIGNAL_PROVIDED
-DREENTRANT_SYSCALLS_PROVIDED -DHAVE_NANOSLEEP -DHAVE_BLKSIZE -DHAVE_FCNTL
-DHAVE_ASSERT_FUNC -D_NO_GETLOGIN -D_NO_GETPWENT -D_NO_GETUT -D_NO_GETPASS
-D_NO_SIGSET -D_NO_WORDEXP -D_NO_POPEN -D_NO_POSIX_SPAWN -fno-builtin      -g
-O2  -mips3 -EL -c -o lib_a-strtod.o `test -f 'strtod.c' || echo
'../../../../../../../gcc/newlib/libc/stdlib/'`strtod.c
../../../../../../../gcc/newlib/libc/stdlib/strtod.c: In function '_strtod_r':
../../../../../../../gcc/newlib/libc/stdlib/strtod.c:1252:1: internal compiler
error: in assign_by_spills, at lra-assigns.c:1335
 }
 ^
0x7ac8f3 assign_by_spills
    ../../gcc/gcc/lra-assigns.c:1335
0x7ad296 lra_assign()
    ../../gcc/gcc/lra-assigns.c:1500
0x7a9022 lra(_IO_FILE*)
    ../../gcc/gcc/lra.c:2230
0x768946 do_reload
    ../../gcc/gcc/ira.c:5306
0x768946 execute
    ../../gcc/gcc/ira.c:5465


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

* [Bug rtl-optimization/62177] mips-rtems ICE at lra_assigns.c:1335 compiling strtod.c in newlib
  2014-08-18 22:33 [Bug c/62177] New: mips-rtems ICE at lra_assigns.c:1335 compiling strtod.c in newlib joel at gcc dot gnu.org
@ 2014-08-20 22:05 ` joel at gcc dot gnu.org
  0 siblings, 0 replies; 2+ messages in thread
From: joel at gcc dot gnu.org @ 2014-08-20 22:05 UTC (permalink / raw)
  To: gcc-bugs

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

Joel Sherrill <joel at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|---                         |FIXED

--- Comment #1 from Joel Sherrill <joel at gcc dot gnu.org> ---
Fixed now.


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

end of thread, other threads:[~2014-08-20 22:05 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-08-18 22:33 [Bug c/62177] New: mips-rtems ICE at lra_assigns.c:1335 compiling strtod.c in newlib joel at gcc dot gnu.org
2014-08-20 22:05 ` [Bug rtl-optimization/62177] " joel at gcc dot gnu.org

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