public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug tree-optimization/17749] [4.0 Regression] ICE
  2004-09-30 14:31 [Bug tree-optimization/17749] New: [4.0 Regression] ICE pinskia at gcc dot gnu dot org
@ 2004-09-30 14:31 ` pinskia at gcc dot gnu dot org
  2004-09-30 14:38 ` pinskia at gcc dot gnu dot org
                   ` (5 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-09-30 14:31 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-09-30 14:31 -------
Here is the ICE:
x.c: In function 'xyzzy':
x.c:8: error: Found a virtual definition for a GIMPLE register
for SSA_NAME: D.1132_12in statement:
y_5 = PHI <y_16(-1), D.1132_12(2)>;
PHI argument
D.1132_12
for PHI node
y_5 = PHI <y_16(-1), D.1132_12(2)>;
x.c:8: internal compiler error: verify_ssa failed.
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|---                         |4.0.0


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


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

* [Bug tree-optimization/17749] New: [4.0 Regression] ICE
@ 2004-09-30 14:31 pinskia at gcc dot gnu dot org
  2004-09-30 14:31 ` [Bug tree-optimization/17749] " pinskia at gcc dot gnu dot org
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-09-30 14:31 UTC (permalink / raw)
  To: gcc-bugs

code from Momchil Velikov (aka velco on #gcc) modified to get an ICE:
extern int foo (int, int);
extern int bar (int, int);
extern int baz (void);
extern int frob (int x);
extern int g(int x);

int xyzzy (int x, int y)
{
        int *p;
        x = foo (x, y);
        if (x > 5)
                p = &x;
        else
                p = &y;
        y = bar (x, y);
        if (baz ())
                return xyzzy (x, y);
        else
        {
                *p = frob (x);
                return foo (x,y);
        }
}

-- 
           Summary: [4.0 Regression] ICE
           Product: gcc
           Version: 4.0.0
            Status: UNCONFIRMED
          Keywords: ice-on-valid-code
          Severity: critical
          Priority: P2
         Component: tree-optimization
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: pinskia at gcc dot gnu dot org
                CC: gcc-bugs at gcc dot gnu dot org


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


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

* [Bug tree-optimization/17749] [4.0 Regression] ICE
  2004-09-30 14:31 [Bug tree-optimization/17749] New: [4.0 Regression] ICE pinskia at gcc dot gnu dot org
  2004-09-30 14:31 ` [Bug tree-optimization/17749] " pinskia at gcc dot gnu dot org
@ 2004-09-30 14:38 ` pinskia at gcc dot gnu dot org
  2004-09-30 15:48 ` [Bug tree-optimization/17749] [4.0 Regression] ICE with recursive function reichelt at gcc dot gnu dot org
                   ` (4 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-09-30 14:38 UTC (permalink / raw)
  To: gcc-bugs



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |rakdver at gcc dot gnu dot
                   |                            |org


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


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

* [Bug tree-optimization/17749] [4.0 Regression] ICE with recursive function
  2004-09-30 14:31 [Bug tree-optimization/17749] New: [4.0 Regression] ICE pinskia at gcc dot gnu dot org
  2004-09-30 14:31 ` [Bug tree-optimization/17749] " pinskia at gcc dot gnu dot org
  2004-09-30 14:38 ` pinskia at gcc dot gnu dot org
@ 2004-09-30 15:48 ` reichelt at gcc dot gnu dot org
  2004-10-01 11:07 ` rakdver at gcc dot gnu dot org
                   ` (3 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: reichelt at gcc dot gnu dot org @ 2004-09-30 15:48 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From reichelt at gcc dot gnu dot org  2004-09-30 15:48 -------
Confirmed. Here's something shorter:

=====================
int foo(int i)
{
    int *p = &i+1;
    *p = 0;
    return foo(i);
}
=====================


-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |reichelt at gcc dot gnu dot
                   |                            |org
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|                            |1
           Keywords|                            |monitored
   Last reconfirmed|0000-00-00 00:00:00         |2004-09-30 15:48:49
               date|                            |
            Summary|[4.0 Regression] ICE        |[4.0 Regression] ICE with
                   |                            |recursive function


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


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

* [Bug tree-optimization/17749] [4.0 Regression] ICE with recursive function
  2004-09-30 14:31 [Bug tree-optimization/17749] New: [4.0 Regression] ICE pinskia at gcc dot gnu dot org
                   ` (2 preceding siblings ...)
  2004-09-30 15:48 ` [Bug tree-optimization/17749] [4.0 Regression] ICE with recursive function reichelt at gcc dot gnu dot org
@ 2004-10-01 11:07 ` rakdver at gcc dot gnu dot org
  2004-10-01 18:18 ` rakdver at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: rakdver at gcc dot gnu dot org @ 2004-10-01 11:07 UTC (permalink / raw)
  To: gcc-bugs



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED
   Last reconfirmed|2004-09-30 15:48:49         |2004-10-01 11:07:21
               date|                            |


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


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

* [Bug tree-optimization/17749] [4.0 Regression] ICE with recursive function
  2004-09-30 14:31 [Bug tree-optimization/17749] New: [4.0 Regression] ICE pinskia at gcc dot gnu dot org
                   ` (3 preceding siblings ...)
  2004-10-01 11:07 ` rakdver at gcc dot gnu dot org
@ 2004-10-01 18:18 ` rakdver at gcc dot gnu dot org
  2004-10-07 14:21 ` cvs-commit at gcc dot gnu dot org
  2004-10-07 14:26 ` rakdver at gcc dot gnu dot org
  6 siblings, 0 replies; 8+ messages in thread
From: rakdver at gcc dot gnu dot org @ 2004-10-01 18:18 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From rakdver at gcc dot gnu dot org  2004-10-01 18:18 -------
Patch:

http://gcc.gnu.org/ml/gcc-patches/2004-10/msg00071.html

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |patch


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


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

* [Bug tree-optimization/17749] [4.0 Regression] ICE with recursive function
  2004-09-30 14:31 [Bug tree-optimization/17749] New: [4.0 Regression] ICE pinskia at gcc dot gnu dot org
                   ` (4 preceding siblings ...)
  2004-10-01 18:18 ` rakdver at gcc dot gnu dot org
@ 2004-10-07 14:21 ` cvs-commit at gcc dot gnu dot org
  2004-10-07 14:26 ` rakdver at gcc dot gnu dot org
  6 siblings, 0 replies; 8+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2004-10-07 14:21 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From cvs-commit at gcc dot gnu dot org  2004-10-07 14:21 -------
Subject: Bug 17749

CVSROOT:	/cvs/gcc
Module name:	gcc
Changes by:	rakdver@gcc.gnu.org	2004-10-07 14:21:17

Modified files:
	gcc            : ChangeLog tree-tailcall.c 

Log message:
	PR tree-optimization/17749
	* tree-tailcall.c (find_tail_calls): Check that parameter is
	a gimple_reg.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ChangeLog.diff?cvsroot=gcc&r1=2.5785&r2=2.5786
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/tree-tailcall.c.diff?cvsroot=gcc&r1=2.30&r2=2.31



-- 


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


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

* [Bug tree-optimization/17749] [4.0 Regression] ICE with recursive function
  2004-09-30 14:31 [Bug tree-optimization/17749] New: [4.0 Regression] ICE pinskia at gcc dot gnu dot org
                   ` (5 preceding siblings ...)
  2004-10-07 14:21 ` cvs-commit at gcc dot gnu dot org
@ 2004-10-07 14:26 ` rakdver at gcc dot gnu dot org
  6 siblings, 0 replies; 8+ messages in thread
From: rakdver at gcc dot gnu dot org @ 2004-10-07 14:26 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From rakdver at gcc dot gnu dot org  2004-10-07 14:26 -------
Fixed.

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


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


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

end of thread, other threads:[~2004-10-07 14:26 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-09-30 14:31 [Bug tree-optimization/17749] New: [4.0 Regression] ICE pinskia at gcc dot gnu dot org
2004-09-30 14:31 ` [Bug tree-optimization/17749] " pinskia at gcc dot gnu dot org
2004-09-30 14:38 ` pinskia at gcc dot gnu dot org
2004-09-30 15:48 ` [Bug tree-optimization/17749] [4.0 Regression] ICE with recursive function reichelt at gcc dot gnu dot org
2004-10-01 11:07 ` rakdver at gcc dot gnu dot org
2004-10-01 18:18 ` rakdver at gcc dot gnu dot org
2004-10-07 14:21 ` cvs-commit at gcc dot gnu dot org
2004-10-07 14:26 ` rakdver 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).