public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug optimization/13525] New: ICE on valid code.
@ 2003-12-30 20:20 tm at kloo dot net
  2003-12-30 20:21 ` [Bug optimization/13525] " tm at kloo dot net
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: tm at kloo dot net @ 2003-12-30 20:20 UTC (permalink / raw)
  To: gcc-bugs

When compiling using the options -O2 -m4 -fnew-ra -S, GCC crashes on almost
every file in stress-1.17:

./aiunit.i:5631: internal compiler error: in remember_move, at ra-build.c:579
./advdomestic.i:3820: internal compiler error: in remember_move, at
ra-build.c:579
./advmilitary.i:3944: internal compiler error: in remember_move, at
ra-build.c:579
./attsub.i:12800: internal compiler error: in remember_move, at ra-build.c:579
./avl.i:1720: internal compiler error: in remember_move, at ra-build.c:579
./avltr.i:2706: internal compiler error: in remember_move, at ra-build.c:579
./blitcursor.i:19374: internal compiler error: in remember_move, at
ra-build.c:579
...

It appears to be failing a sanity check in new-ra:

          /* Some sanity test for the copy insn.  */
          struct df_link *slink = DF_INSN_USES (df, insn);
          struct df_link *link = DF_INSN_DEFS (df, insn);
          if (!link || !link->ref || !slink || !slink->ref) <- line 578
            abort ();

Toshi

-- 
           Summary: ICE on valid code.
           Product: gcc
           Version: new-ra
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: optimization
        AssignedTo: matz at suse dot de
        ReportedBy: tm at kloo dot net
                CC: gcc-bugs at gcc dot gnu dot org
 GCC build triplet: i386-linux
  GCC host triplet: i386-linux
GCC target triplet: sh-elf


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13525


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

* [Bug optimization/13525] ICE on valid code.
  2003-12-30 20:20 [Bug optimization/13525] New: ICE on valid code tm at kloo dot net
@ 2003-12-30 20:21 ` tm at kloo dot net
  2003-12-30 21:07 ` pinskia at gcc dot gnu dot org
                   ` (4 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: tm at kloo dot net @ 2003-12-30 20:21 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From tm at kloo dot net  2003-12-30 20:06 -------
Created an attachment (id=5383)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=5383&action=view)
file from stress-1.17 GCC testsuite


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13525


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

* [Bug optimization/13525] ICE on valid code.
  2003-12-30 20:20 [Bug optimization/13525] New: ICE on valid code tm at kloo dot net
  2003-12-30 20:21 ` [Bug optimization/13525] " tm at kloo dot net
@ 2003-12-30 21:07 ` pinskia at gcc dot gnu dot org
  2004-01-20  0:23 ` dhazeghi at yahoo dot com
                   ` (3 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2003-12-30 21:07 UTC (permalink / raw)
  To: gcc-bugs



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |ice-on-valid-code


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13525


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

* [Bug optimization/13525] ICE on valid code.
  2003-12-30 20:20 [Bug optimization/13525] New: ICE on valid code tm at kloo dot net
  2003-12-30 20:21 ` [Bug optimization/13525] " tm at kloo dot net
  2003-12-30 21:07 ` pinskia at gcc dot gnu dot org
@ 2004-01-20  0:23 ` dhazeghi at yahoo dot com
  2004-01-20  0:24 ` dhazeghi at yahoo dot com
                   ` (2 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: dhazeghi at yahoo dot com @ 2004-01-20  0:23 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From dhazeghi at yahoo dot com  2004-01-20 00:23 -------
Created an attachment (id=5527)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=5527&action=view)
somewhat reduced testcase (31 lines)


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13525


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

* [Bug optimization/13525] ICE on valid code.
  2003-12-30 20:20 [Bug optimization/13525] New: ICE on valid code tm at kloo dot net
                   ` (2 preceding siblings ...)
  2004-01-20  0:23 ` dhazeghi at yahoo dot com
@ 2004-01-20  0:24 ` dhazeghi at yahoo dot com
  2004-04-08 21:03 ` [Bug optimization/13525] [new-ra] " 1319 at bot dot ru
  2004-04-08 21:12 ` pinskia at gcc dot gnu dot org
  5 siblings, 0 replies; 7+ messages in thread
From: dhazeghi at yahoo dot com @ 2004-01-20  0:24 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From dhazeghi at yahoo dot com  2004-01-20 00:24 -------
Confirmed with new-ra cvs (20031009 is what it claims to be but I checked it out
this morning).

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|                            |1
   Last reconfirmed|0000-00-00 00:00:00         |2004-01-20 00:24:46
               date|                            |


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13525


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

* [Bug optimization/13525] [new-ra] ICE on valid code.
  2003-12-30 20:20 [Bug optimization/13525] New: ICE on valid code tm at kloo dot net
                   ` (3 preceding siblings ...)
  2004-01-20  0:24 ` dhazeghi at yahoo dot com
@ 2004-04-08 21:03 ` 1319 at bot dot ru
  2004-04-08 21:12 ` pinskia at gcc dot gnu dot org
  5 siblings, 0 replies; 7+ messages in thread
From: 1319 at bot dot ru @ 2004-04-08 21:03 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From 1319 at bot dot ru  2004-04-08 21:03 -------
Fixed on new-regalloc branch from 20040408:

$ ./xgcc -B. -S -O2 -m4 -fnew-ra -S ~/tmp/13525.i
$

-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13525


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

* [Bug optimization/13525] [new-ra] ICE on valid code.
  2003-12-30 20:20 [Bug optimization/13525] New: ICE on valid code tm at kloo dot net
                   ` (4 preceding siblings ...)
  2004-04-08 21:03 ` [Bug optimization/13525] [new-ra] " 1319 at bot dot ru
@ 2004-04-08 21:12 ` pinskia at gcc dot gnu dot org
  5 siblings, 0 replies; 7+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-04-08 21:12 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-04-08 21:12 -------
Fixed so closing.

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


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13525


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

end of thread, other threads:[~2004-04-08 21:12 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-12-30 20:20 [Bug optimization/13525] New: ICE on valid code tm at kloo dot net
2003-12-30 20:21 ` [Bug optimization/13525] " tm at kloo dot net
2003-12-30 21:07 ` pinskia at gcc dot gnu dot org
2004-01-20  0:23 ` dhazeghi at yahoo dot com
2004-01-20  0:24 ` dhazeghi at yahoo dot com
2004-04-08 21:03 ` [Bug optimization/13525] [new-ra] " 1319 at bot dot ru
2004-04-08 21:12 ` pinskia at gcc dot gnu dot 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).