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: 28 Sep 2004 22:42:33 -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-28 22:42 -------
Here is another example (which shows up in PR8361) (plus after my patch we actually optimize it better
than before):
_Bool f1(_Bool a, _Bool b)
{
if (a)
{
if (b)
return 1;
else
return 0;
}
return 0;
}
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17671