This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/17671] PHI-OPT is not smart enough
- From: "pinskia at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 29 Sep 2004 03:44:56 -0000
- Subject: [Bug tree-optimization/17671] PHI-OPT is not smart enough
- References: <20040925232753.17671.pinskia@gcc.gnu.org>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From pinskia at gcc dot gnu dot org 2004-09-29 03:44 -------
Here is another example which I already with my patch.
int f(int a, int b, int c)
{
if (c == 0) goto temp;
if (a == 0)
return 0;
temp:
if (a == b)
return a;
return a;
}
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17671