This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug optimization/14466] missed PHI optimization (different types)
- 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: 5 Apr 2004 00:23:28 -0000
- Subject: [Bug optimization/14466] missed PHI optimization (different types)
- References: <20040307040255.14466.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-04-05 00:23 -------
I finnally figured out how to fix the disabled parts of my patch and I am testing the patch
right now. Note with my cast pass also, it reduces both testcases to:
int t1(int i)
{
int j1 = i == 0;
return j1;
}
or
int t1(int i)
{
return i == 0;
}
--
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |memory-hog, pessimizes-code
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14466