------- Comment #2 from pinskia at gcc dot gnu dot org  2006-05-05 02:44 -------
Here is a testcase:
int f(int i, int t)
{
  if ((i + -1) != t)
    return 4;
  return i - 1;
}
-------
The RTL level PRE catches this though.


-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Severity|normal                      |enhancement
           Keywords|                            |missed-optimization, TREE


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27441

Reply via email to