public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug optimization/14413] [tree-ssa] ICE caused by tree-ssa-phiopt not unsetting EDGE_FALSE
  2004-03-03 18:37 [Bug optimization/14413] New: ICE caused by tree-ssa-phiopt not unsetting EDGE_FALSE pinskia at gcc dot gnu dot org
@ 2004-03-03 18:37 ` pinskia at gcc dot gnu dot org
  2004-03-03 20:29 ` law at redhat dot com
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-03-03 18:37 UTC (permalink / raw)
  To: gcc-bugs



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|ICE caused by tree-ssa-     |[tree-ssa] ICE caused by
                   |phiopt not unsetting        |tree-ssa-phiopt not
                   |EDGE_FALSE                  |unsetting EDGE_FALSE
   Target Milestone|---                         |tree-ssa


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


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

* [Bug optimization/14413] New: ICE caused by tree-ssa-phiopt not unsetting EDGE_FALSE
@ 2004-03-03 18:37 pinskia at gcc dot gnu dot org
  2004-03-03 18:37 ` [Bug optimization/14413] [tree-ssa] " pinskia at gcc dot gnu dot org
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-03-03 18:37 UTC (permalink / raw)
  To: gcc-bugs

I found this while trying to add some more optimizations to tree-ssa-phiopt.c and trying to 
fix PR14135 at the same time.

void abort(void);
int x, y;
void init_xy(void);
void
test4(void)
{
  init_xy();
  _Bool iftemp0;
  int x1 = x;
  _Bool iftemp1;
  x1++;
  if (x1 != 3)
    {
      iftemp1 = 1;
      goto endfirstif;
    }
  iftemp1 = 0;
  endfirstif:
  iftemp0 = iftemp1;
  if (iftemp0)
    abort();
}

-- 
           Summary: ICE caused by tree-ssa-phiopt not unsetting EDGE_FALSE
           Product: gcc
           Version: tree-ssa
            Status: UNCONFIRMED
          Keywords: ice-on-valid-code
          Severity: critical
          Priority: P2
         Component: optimization
        AssignedTo: law 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=14413


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

* [Bug optimization/14413] [tree-ssa] ICE caused by tree-ssa-phiopt not unsetting EDGE_FALSE
  2004-03-03 18:37 [Bug optimization/14413] New: ICE caused by tree-ssa-phiopt not unsetting EDGE_FALSE pinskia at gcc dot gnu dot org
  2004-03-03 18:37 ` [Bug optimization/14413] [tree-ssa] " pinskia at gcc dot gnu dot org
@ 2004-03-03 20:29 ` law at redhat dot com
  2004-03-03 20:34 ` pinskia at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: law at redhat dot com @ 2004-03-03 20:29 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From law at redhat dot com  2004-03-03 20:29 -------
Subject: Re:  New: ICE caused by tree-ssa-phiopt not 
 unsetting EDGE_FALSE

In message <20040303183708.14413.pinskia@gcc.gnu.org>, "pinskia at gcc dot gnu 
dot org" writes:
 >I found this while trying to add some more optimizations to tree-ssa-phiopt.c
 > and trying to 
 >fix PR14135 at the same time.
 >
 >void abort(void);
 >int x, y;
 >void init_xy(void);
 >void
 >test4(void)
 >{
 >  init_xy();
 >  _Bool iftemp0;
 >  int x1 = x;
 >  _Bool iftemp1;
 >  x1++;
 >  if (x1 != 3)
 >    {
 >      iftemp1 = 1;
 >      goto endfirstif;
 >    }
 >  iftemp1 = 0;
 >  endfirstif:
 >  iftemp0 = iftemp1;
 >  if (iftemp0)
 >    abort();
 >}
Thanks.  I've got a fix for this and one other bug that I'll be running
through a bootstrap and regression test today.

jeff



-- 


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


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

* [Bug optimization/14413] [tree-ssa] ICE caused by tree-ssa-phiopt not unsetting EDGE_FALSE
  2004-03-03 18:37 [Bug optimization/14413] New: ICE caused by tree-ssa-phiopt not unsetting EDGE_FALSE pinskia at gcc dot gnu dot org
  2004-03-03 18:37 ` [Bug optimization/14413] [tree-ssa] " pinskia at gcc dot gnu dot org
  2004-03-03 20:29 ` law at redhat dot com
@ 2004-03-03 20:34 ` pinskia at gcc dot gnu dot org
  2004-03-04  5:12 ` law at gcc dot gnu dot org
  2004-03-04  6:13 ` pinskia at gcc dot gnu dot org
  4 siblings, 0 replies; 6+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-03-03 20:34 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-03-03 20:34 -------
Confirmed then.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |ASSIGNED
     Ever Confirmed|                            |1
   Last reconfirmed|0000-00-00 00:00:00         |2004-03-03 20:34:23
               date|                            |


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


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

* [Bug optimization/14413] [tree-ssa] ICE caused by tree-ssa-phiopt not unsetting EDGE_FALSE
  2004-03-03 18:37 [Bug optimization/14413] New: ICE caused by tree-ssa-phiopt not unsetting EDGE_FALSE pinskia at gcc dot gnu dot org
                   ` (2 preceding siblings ...)
  2004-03-03 20:34 ` pinskia at gcc dot gnu dot org
@ 2004-03-04  5:12 ` law at gcc dot gnu dot org
  2004-03-04  6:13 ` pinskia at gcc dot gnu dot org
  4 siblings, 0 replies; 6+ messages in thread
From: law at gcc dot gnu dot org @ 2004-03-04  5:12 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From law at gcc dot gnu dot org  2004-03-04 05:12 -------
Fixed by my checkin to tree-ssa-phiopt.c.

-- 


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


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

* [Bug optimization/14413] [tree-ssa] ICE caused by tree-ssa-phiopt not unsetting EDGE_FALSE
  2004-03-03 18:37 [Bug optimization/14413] New: ICE caused by tree-ssa-phiopt not unsetting EDGE_FALSE pinskia at gcc dot gnu dot org
                   ` (3 preceding siblings ...)
  2004-03-04  5:12 ` law at gcc dot gnu dot org
@ 2004-03-04  6:13 ` pinskia at gcc dot gnu dot org
  4 siblings, 0 replies; 6+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-03-04  6:13 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-03-04 06:12 -------
Fixed then, thanks for fixing it, now I can go and improve tree-ssa-phiopt more.

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


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


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

end of thread, other threads:[~2004-03-04  6:13 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-03-03 18:37 [Bug optimization/14413] New: ICE caused by tree-ssa-phiopt not unsetting EDGE_FALSE pinskia at gcc dot gnu dot org
2004-03-03 18:37 ` [Bug optimization/14413] [tree-ssa] " pinskia at gcc dot gnu dot org
2004-03-03 20:29 ` law at redhat dot com
2004-03-03 20:34 ` pinskia at gcc dot gnu dot org
2004-03-04  5:12 ` law at gcc dot gnu dot org
2004-03-04  6:13 ` 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).