This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug optimization/14413] [tree-ssa] ICE caused by tree-ssa-phiopt not unsetting EDGE_FALSE


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]