public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/15439] New: ICE with
@ 2004-05-14 22:36 coyote at coyotegulch dot com
  2004-05-14 22:47 ` [Bug c/15439] " coyote at coyotegulch dot com
                   ` (3 more replies)
  0 siblings, 4 replies; 7+ messages in thread
From: coyote at coyotegulch dot com @ 2004-05-14 22:36 UTC (permalink / raw)
  To: gcc-bugs

When compiled with
     gcc -O1 -c -fschedule-insns2 -fsched2-use-traces bug_reg_stack.c

the attached program generates:
     bug_reg_stack.c: In function `molebench':
     bug_reg_stack.c:26: internal compiler error: in convert_regs_1, at
reg-stack.c:2950

Changing the array size from a static const to a literal int eliminates the ICE.

Removing the return value (and changing the function type to void) also
eliminates the ICE.

-- 
           Summary: ICE with
           Product: gcc
           Version: 3.5.0
            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: x86_64-unknown-linux
  GCC host triplet: x86_64-unknown-linux
GCC target triplet: x86_64-unknown-linux


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


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

* [Bug c/15439] ICE with
  2004-05-14 22:36 [Bug c/15439] New: ICE with coyote at coyotegulch dot com
@ 2004-05-14 22:47 ` coyote at coyotegulch dot com
  2004-05-14 22:57 ` [Bug c/15439] ICE with -fschedule-insns2 -fsched2-use-traces coyote at coyotegulch dot com
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 7+ messages in thread
From: coyote at coyotegulch dot com @ 2004-05-14 22:47 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From coyote at coyotegulch dot com  2004-05-14 16:59 -------
Created an attachment (id=6288)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=6288&action=view)
A minimal program to demonstrate the bug


-- 


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


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

* [Bug c/15439] ICE with -fschedule-insns2 -fsched2-use-traces
  2004-05-14 22:36 [Bug c/15439] New: ICE with coyote at coyotegulch dot com
  2004-05-14 22:47 ` [Bug c/15439] " coyote at coyotegulch dot com
@ 2004-05-14 22:57 ` coyote at coyotegulch dot com
  2004-05-15  5:29 ` [Bug rtl-optimization/15439] " pinskia at gcc dot gnu dot org
  2004-10-06 23:15 ` giovannibajo at libero dot it
  3 siblings, 0 replies; 7+ messages in thread
From: coyote at coyotegulch dot com @ 2004-05-14 22:57 UTC (permalink / raw)
  To: gcc-bugs



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|ICE with                    |ICE with -fschedule-insns2 -
                   |                            |fsched2-use-traces


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


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

* [Bug rtl-optimization/15439] ICE with -fschedule-insns2 -fsched2-use-traces
  2004-05-14 22:36 [Bug c/15439] New: ICE with coyote at coyotegulch dot com
  2004-05-14 22:47 ` [Bug c/15439] " coyote at coyotegulch dot com
  2004-05-14 22:57 ` [Bug c/15439] ICE with -fschedule-insns2 -fsched2-use-traces coyote at coyotegulch dot com
@ 2004-05-15  5:29 ` pinskia at gcc dot gnu dot org
  2004-10-06 23:15 ` giovannibajo at libero dot it
  3 siblings, 0 replies; 7+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-05-15  5:29 UTC (permalink / raw)
  To: gcc-bugs



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
          Component|c                           |rtl-optimization
           Keywords|                            |ice-on-valid-code


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


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

* [Bug rtl-optimization/15439] ICE with -fschedule-insns2 -fsched2-use-traces
  2004-05-14 22:36 [Bug c/15439] New: ICE with coyote at coyotegulch dot com
                   ` (2 preceding siblings ...)
  2004-05-15  5:29 ` [Bug rtl-optimization/15439] " pinskia at gcc dot gnu dot org
@ 2004-10-06 23:15 ` giovannibajo at libero dot it
  3 siblings, 0 replies; 7+ messages in thread
From: giovannibajo at libero dot it @ 2004-10-06 23:15 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From giovannibajo at libero dot it  2004-10-06 23:15 -------
Steven confirmed this on 3.4, but it looks "fixed" on mainline 20041004. 
Probably, it means that the bug is papered over. Honza promised to have a look 
at this, so I'm assigning this bug to him.

Notice, this is not a regression, since it is caused by -fsched2-use-traces 
which did not exist in 3.3.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|unassigned at gcc dot gnu   |hubicka at gcc dot gnu dot
                   |dot org                     |org
             Status|UNCONFIRMED                 |ASSIGNED
     Ever Confirmed|                            |1
      Known to fail|                            |3.4.0
      Known to work|                            |4.0.0
   Last reconfirmed|0000-00-00 00:00:00         |2004-10-06 23:15:21
               date|                            |


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


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

* [Bug rtl-optimization/15439] ICE with -fschedule-insns2 -fsched2-use-traces
       [not found] <bug-15439-7152@http.gcc.gnu.org/bugzilla/>
  2005-11-10 23:13 ` pinskia at gcc dot gnu dot org
@ 2005-11-11  8:20 ` uros at kss-loka dot si
  1 sibling, 0 replies; 7+ messages in thread
From: uros at kss-loka dot si @ 2005-11-11  8:20 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #4 from uros at kss-loka dot si  2005-11-11 08:20 -------
This is in fact duplicate of PR 19340. Fixed in 3.4.5.

*** This bug has been marked as a duplicate of 19340 ***


-- 

uros at kss-loka dot si changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
      Known to work|4.0.0                       |4.0.0 3.4.5
         Resolution|                            |DUPLICATE
   Target Milestone|---                         |3.4.5


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


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

* [Bug rtl-optimization/15439] ICE with -fschedule-insns2 -fsched2-use-traces
       [not found] <bug-15439-7152@http.gcc.gnu.org/bugzilla/>
@ 2005-11-10 23:13 ` pinskia at gcc dot gnu dot org
  2005-11-11  8:20 ` uros at kss-loka dot si
  1 sibling, 0 replies; 7+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-11-10 23:13 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #3 from pinskia at gcc dot gnu dot org  2005-11-10 23:13 -------
I think this is related to PR 19340.


-- 


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


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

end of thread, other threads:[~2005-11-11  8:20 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-05-14 22:36 [Bug c/15439] New: ICE with coyote at coyotegulch dot com
2004-05-14 22:47 ` [Bug c/15439] " coyote at coyotegulch dot com
2004-05-14 22:57 ` [Bug c/15439] ICE with -fschedule-insns2 -fsched2-use-traces coyote at coyotegulch dot com
2004-05-15  5:29 ` [Bug rtl-optimization/15439] " pinskia at gcc dot gnu dot org
2004-10-06 23:15 ` giovannibajo at libero dot it
     [not found] <bug-15439-7152@http.gcc.gnu.org/bugzilla/>
2005-11-10 23:13 ` pinskia at gcc dot gnu dot org
2005-11-11  8:20 ` uros at kss-loka dot si

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