This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug optimization/14413] [tree-ssa] ICE caused by tree-ssa-phiopt not unsetting EDGE_FALSE
- From: "law at redhat dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 3 Mar 2004 20:29:13 -0000
- Subject: [Bug optimization/14413] [tree-ssa] ICE caused by tree-ssa-phiopt not unsetting EDGE_FALSE
- References: <20040303183708.14413.pinskia@gcc.gnu.org>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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