public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/13230] New: ICE: Didn't find a coloring
@ 2003-11-29  5:16 coyote at coyotegulch dot com
  2003-11-29  5:17 ` [Bug c/13230] " coyote at coyotegulch dot com
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: coyote at coyotegulch dot com @ 2003-11-29  5:16 UTC (permalink / raw)
  To: gcc-bugs

The attached source file, when compiled with gcc 3.4 20031126 and the command
line...

  gcc -c -std=gnu99 -O1 -fcse-follow-jumps -fgcse \
      -fexpensive-optimizations -fforce-mem -fpeephole2 \
      -fschedule-insns -fstrict-aliasing -fno-inline -fnew-ra gcc-ice2.c

...produces the following ICE...

gcc-ice2.c: In function `btree_remove':
gcc-ice2.c:142: internal compiler error: Didn't find a coloring.

Even the most minor changes to the btree_remove function stop the occurrence of
the ICE. All of the above options seem to be necessary to reproduce the ICE. I
suspect the problem is caused by an interaction between -fnew-ra and the other
options.

-- 
           Summary: ICE: Didn't find a coloring
           Product: gcc
           Version: 3.4
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: c
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: coyote at coyotegulch dot com
                CC: gcc-bugs at gcc dot gnu dot org
 GCC build triplet: i686-pc-linux
  GCC host triplet: i686-pc-linux
GCC target triplet: i686-pc-linux


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


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

* [Bug c/13230] ICE: Didn't find a coloring
  2003-11-29  5:16 [Bug c/13230] New: ICE: Didn't find a coloring coyote at coyotegulch dot com
@ 2003-11-29  5:17 ` coyote at coyotegulch dot com
  2003-11-29  6:11 ` [Bug optimization/13230] " pinskia at gcc dot gnu dot org
                   ` (4 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: coyote at coyotegulch dot com @ 2003-11-29  5:17 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From coyote at coyotegulch dot com  2003-11-29 05:17 -------
Created an attachment (id=5230)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=5230&action=view)
Program that produces the ICE

The original files was some 1200 lines long, so this one's quite a bit shorter.
Any change in gcc-ice2.c seems to prevent the ICE; I just couldn't whittle it
down any further.

-- 


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


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

* [Bug optimization/13230] ICE: Didn't find a coloring
  2003-11-29  5:16 [Bug c/13230] New: ICE: Didn't find a coloring coyote at coyotegulch dot com
  2003-11-29  5:17 ` [Bug c/13230] " coyote at coyotegulch dot com
@ 2003-11-29  6:11 ` pinskia at gcc dot gnu dot org
  2003-11-30 20:51 ` pinskia at gcc dot gnu dot org
                   ` (3 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2003-11-29  6:11 UTC (permalink / raw)
  To: gcc-bugs



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|unassigned at gcc dot gnu   |matz at suse dot de
                   |dot org                     |
             Status|UNCONFIRMED                 |ASSIGNED
          Component|c                           |optimization
           Keywords|                            |ice-on-valid-code


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


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

* [Bug optimization/13230] ICE: Didn't find a coloring
  2003-11-29  5:16 [Bug c/13230] New: ICE: Didn't find a coloring coyote at coyotegulch dot com
  2003-11-29  5:17 ` [Bug c/13230] " coyote at coyotegulch dot com
  2003-11-29  6:11 ` [Bug optimization/13230] " pinskia at gcc dot gnu dot org
@ 2003-11-30 20:51 ` pinskia at gcc dot gnu dot org
  2003-11-30 21:25 ` pinskia at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2003-11-30 20:51 UTC (permalink / raw)
  To: gcc-bugs



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
OtherBugsDependingO|                            |13246
              nThis|                            |


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


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

* [Bug optimization/13230] ICE: Didn't find a coloring
  2003-11-29  5:16 [Bug c/13230] New: ICE: Didn't find a coloring coyote at coyotegulch dot com
                   ` (2 preceding siblings ...)
  2003-11-30 20:51 ` pinskia at gcc dot gnu dot org
@ 2003-11-30 21:25 ` pinskia at gcc dot gnu dot org
  2004-03-24  8:05 ` [Bug optimization/13230] [new-ra] " 1319 at bot dot ru
  2004-03-24 15:58 ` pinskia at gcc dot gnu dot org
  5 siblings, 0 replies; 7+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2003-11-30 21:25 UTC (permalink / raw)
  To: gcc-bugs



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|---                         |3.5


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


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

* [Bug optimization/13230] [new-ra] ICE: Didn't find a coloring
  2003-11-29  5:16 [Bug c/13230] New: ICE: Didn't find a coloring coyote at coyotegulch dot com
                   ` (3 preceding siblings ...)
  2003-11-30 21:25 ` pinskia at gcc dot gnu dot org
@ 2004-03-24  8:05 ` 1319 at bot dot ru
  2004-03-24 15:58 ` pinskia at gcc dot gnu dot org
  5 siblings, 0 replies; 7+ messages in thread
From: 1319 at bot dot ru @ 2004-03-24  8:05 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From 1319 at bot dot ru  2004-03-24 08:05 -------
This bug runs away from me, it seems because testcase #include's other files. I
cannot reproduce this bug neither with current new RA nor 3.4.0.

-- 


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


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

* [Bug optimization/13230] [new-ra] ICE: Didn't find a coloring
  2003-11-29  5:16 [Bug c/13230] New: ICE: Didn't find a coloring coyote at coyotegulch dot com
                   ` (4 preceding siblings ...)
  2004-03-24  8:05 ` [Bug optimization/13230] [new-ra] " 1319 at bot dot ru
@ 2004-03-24 15:58 ` pinskia at gcc dot gnu dot org
  5 siblings, 0 replies; 7+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-03-24 15:58 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-03-24 15:58 -------
So closing as fixed, the problem is most likely caused either by glibc's headers or is already fixed.

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


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


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

end of thread, other threads:[~2004-03-24 15:58 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-11-29  5:16 [Bug c/13230] New: ICE: Didn't find a coloring coyote at coyotegulch dot com
2003-11-29  5:17 ` [Bug c/13230] " coyote at coyotegulch dot com
2003-11-29  6:11 ` [Bug optimization/13230] " pinskia at gcc dot gnu dot org
2003-11-30 20:51 ` pinskia at gcc dot gnu dot org
2003-11-30 21:25 ` pinskia at gcc dot gnu dot org
2004-03-24  8:05 ` [Bug optimization/13230] [new-ra] " 1319 at bot dot ru
2004-03-24 15:58 ` 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).