--- Comment #5 from pinskia at gcc dot gnu dot org 2005-10-28 18:18 ---
Last but not least is:
int f(int i)
{
if (i < 0) return i/10;
return i/10;
}
int f2(int i)
{
return i/10;
}
Which is converted at the rtl level but not at the tree level (I think there is
a bug about this al
--- Comment #4 from pinskia at gcc dot gnu dot org 2005-10-28 18:15 ---
Another issue is PR 24575:
-(-a/10) is not converted into a/10.
--
pinskia at gcc dot gnu dot org changed:
What|Removed |Added
-
--- Comment #3 from pinskia at gcc dot gnu dot org 2005-10-28 18:11 ---
(In reply to comment #2)
> PR 24574 is the first issue which seems like it could happen in really code
> (though not as much as one thinks).
That was for the inner if.
I have to see how to reduce the outer ones.
--
pinskia at gcc dot gnu dot org changed:
What|Removed |Added
Severity|normal |enhancement
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24568
--- Comment #2 from pinskia at gcc dot gnu dot org 2005-10-28 18:05 ---
(In reply to comment #1)
> There is a couple of different bugs in the is code snipit really. Let me file
> new bugs for each of them.
PR 24574 is the first issue which seems like it could happen in really code
(tho
--- Comment #1 from pinskia at gcc dot gnu dot org 2005-10-28 18:01 ---
There is a couple of different bugs in the is code snipit really. Let me file
new bugs for each of them.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24568