This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug optimization/14466] missed PHI optimization (different types)


------- 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]