public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/61610] New: ICE in assign_by_spills, at lra-assigns.c:1335
@ 2014-06-25 14:34 rmansfield at qnx dot com
  2014-06-25 16:16 ` [Bug target/61610] " sandra at codesourcery dot com
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: rmansfield at qnx dot com @ 2014-06-25 14:34 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 61610
           Summary: ICE in assign_by_spills, at lra-assigns.c:1335
           Product: gcc
           Version: 4.10.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: target
          Assignee: unassigned at gcc dot gnu.org
          Reporter: rmansfield at qnx dot com
                CC: sandra at codesourcery dot com
            Target: mips-unknown-linux-uclibc

Created attachment 33005
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=33005&action=edit
preprocessed src

$ ./xgcc -B. ~/ice.i  -O2  -mips2 -mel
/home/ryan/ice.i: In function 'three_point':
/home/ryan/ice.i:19:4: warning: incompatible implicit declaration of built-in
function 'memset'
    memset (&PtrCtrlEvent, 0, sizeof (PtrCtrlEvent));
    ^
/home/ryan/ice.i:24:2: internal compiler error: in assign_by_spills, at
lra-assigns.c:1335
  }
  ^
0x85754b assign_by_spills
    ../../gcc/lra-assigns.c:1335
0x858046 lra_assign()
    ../../gcc/lra-assigns.c:1500
0x853cd0 lra(_IO_FILE*)
    ../../gcc/lra.c:2230
0x812e06 do_reload
    ../../gcc/ira.c:5325
0x812e06 execute
    ../../gcc/ira.c:5486
Please submit a full bug report,
with preprocessed source if appropriate.
Please include the complete backtrace with any bug report.
See <http://gcc.gnu.org/bugs.html> for instructions.


gcc version 4.10.0 20140625 (experimental) [trunk revision 211980] (GCC)

Started happening at rev211959

https://gcc.gnu.org/viewcvs/gcc?view=revision&revision=211959


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

* [Bug target/61610] ICE in assign_by_spills, at lra-assigns.c:1335
  2014-06-25 14:34 [Bug target/61610] New: ICE in assign_by_spills, at lra-assigns.c:1335 rmansfield at qnx dot com
@ 2014-06-25 16:16 ` sandra at codesourcery dot com
  2014-06-26 11:43 ` [Bug target/61610] [4.10 Regression] " rguenth at gcc dot gnu.org
                   ` (4 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: sandra at codesourcery dot com @ 2014-06-25 16:16 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #1 from Sandra Loosemore <sandra at codesourcery dot com> ---
Hmmm, this looks like a bug in LRA exposed by the change to register alloc
order.  In particular this comment in the code just above the assertion seems
to reflect an incorrect assumption:

          /* We did not assign hard regs to reload pseudos after two            
             iteration.  It means something is wrong with asm insn              
             constraints.  Report it.  */

since there is no inline asm in the test case.


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

* [Bug target/61610] [4.10 Regression] ICE in assign_by_spills, at lra-assigns.c:1335
  2014-06-25 14:34 [Bug target/61610] New: ICE in assign_by_spills, at lra-assigns.c:1335 rmansfield at qnx dot com
  2014-06-25 16:16 ` [Bug target/61610] " sandra at codesourcery dot com
@ 2014-06-26 11:43 ` rguenth at gcc dot gnu.org
  2014-08-26 16:33 ` [Bug target/61610] [5 " joel at gcc dot gnu.org
                   ` (3 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: rguenth at gcc dot gnu.org @ 2014-06-26 11:43 UTC (permalink / raw)
  To: gcc-bugs

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

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|---                         |4.10.0
            Summary|ICE in assign_by_spills, at |[4.10 Regression] ICE in
                   |lra-assigns.c:1335          |assign_by_spills, at
                   |                            |lra-assigns.c:1335


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

* [Bug target/61610] [5 Regression] ICE in assign_by_spills, at lra-assigns.c:1335
  2014-06-25 14:34 [Bug target/61610] New: ICE in assign_by_spills, at lra-assigns.c:1335 rmansfield at qnx dot com
  2014-06-25 16:16 ` [Bug target/61610] " sandra at codesourcery dot com
  2014-06-26 11:43 ` [Bug target/61610] [4.10 Regression] " rguenth at gcc dot gnu.org
@ 2014-08-26 16:33 ` joel at gcc dot gnu.org
  2014-08-26 16:35 ` joel at gcc dot gnu.org
                   ` (2 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: joel at gcc dot gnu.org @ 2014-08-26 16:33 UTC (permalink / raw)
  To: gcc-bugs

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |joel at gcc dot gnu.org

--- Comment #2 from Joel Sherrill <joel at gcc dot gnu.org> ---
Created attachment 33398
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=33398&action=edit
Preprocessed newlib strtod.c source to reproduce issue

This is the newlib example to reproduce this.


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

* [Bug target/61610] [5 Regression] ICE in assign_by_spills, at lra-assigns.c:1335
  2014-06-25 14:34 [Bug target/61610] New: ICE in assign_by_spills, at lra-assigns.c:1335 rmansfield at qnx dot com
                   ` (2 preceding siblings ...)
  2014-08-26 16:33 ` [Bug target/61610] [5 " joel at gcc dot gnu.org
@ 2014-08-26 16:35 ` joel at gcc dot gnu.org
  2014-11-19 13:51 ` rguenth at gcc dot gnu.org
  2014-11-20 14:25 ` rmansfield at qnx dot com
  5 siblings, 0 replies; 7+ messages in thread
From: joel at gcc dot gnu.org @ 2014-08-26 16:35 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #3 from Joel Sherrill <joel at gcc dot gnu.org> ---
For the preprocessed newlib strtod source, -O2 will reproduce. Dropping -EL or
to -O1 results in it compiling.

/users/joel/test-gcc/b-mips-rtems4.11-gcc/./gcc/xgcc
-B/users/joel/test-gcc/b-mips-rtems4.11-gcc/./gcc/ -c -EL -O2 -mips3
newlib_strtod_preprocessed.c


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

* [Bug target/61610] [5 Regression] ICE in assign_by_spills, at lra-assigns.c:1335
  2014-06-25 14:34 [Bug target/61610] New: ICE in assign_by_spills, at lra-assigns.c:1335 rmansfield at qnx dot com
                   ` (3 preceding siblings ...)
  2014-08-26 16:35 ` joel at gcc dot gnu.org
@ 2014-11-19 13:51 ` rguenth at gcc dot gnu.org
  2014-11-20 14:25 ` rmansfield at qnx dot com
  5 siblings, 0 replies; 7+ messages in thread
From: rguenth at gcc dot gnu.org @ 2014-11-19 13:51 UTC (permalink / raw)
  To: gcc-bugs

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

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |WAITING
   Last reconfirmed|                            |2014-11-19
     Ever confirmed|0                           |1

--- Comment #4 from Richard Biener <rguenth at gcc dot gnu.org> ---
Is this still broken?


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

* [Bug target/61610] [5 Regression] ICE in assign_by_spills, at lra-assigns.c:1335
  2014-06-25 14:34 [Bug target/61610] New: ICE in assign_by_spills, at lra-assigns.c:1335 rmansfield at qnx dot com
                   ` (4 preceding siblings ...)
  2014-11-19 13:51 ` rguenth at gcc dot gnu.org
@ 2014-11-20 14:25 ` rmansfield at qnx dot com
  5 siblings, 0 replies; 7+ messages in thread
From: rmansfield at qnx dot com @ 2014-11-20 14:25 UTC (permalink / raw)
  To: gcc-bugs

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

Ryan Mansfield <rmansfield at qnx dot com> changed:

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

--- Comment #5 from Ryan Mansfield <rmansfield at qnx dot com> ---
Appears to be fixed since rev212765.


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

end of thread, other threads:[~2014-11-20 14:25 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-06-25 14:34 [Bug target/61610] New: ICE in assign_by_spills, at lra-assigns.c:1335 rmansfield at qnx dot com
2014-06-25 16:16 ` [Bug target/61610] " sandra at codesourcery dot com
2014-06-26 11:43 ` [Bug target/61610] [4.10 Regression] " rguenth at gcc dot gnu.org
2014-08-26 16:33 ` [Bug target/61610] [5 " joel at gcc dot gnu.org
2014-08-26 16:35 ` joel at gcc dot gnu.org
2014-11-19 13:51 ` rguenth at gcc dot gnu.org
2014-11-20 14:25 ` rmansfield at qnx 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).