[Bug optimization/14413] [tree-ssa] ICE caused by tree-ssa-phiopt not unsetting EDGE_FALSE
law at redhat dot com
gcc-bugzilla@gcc.gnu.org
Wed Mar 3 20:29:00 GMT 2004
------- 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
More information about the Gcc-bugs
mailing list