https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107455
Andrew Pinski changed:
What|Removed |Added
Keywords||missed-optimization
Severity|
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107455
Andrew Pinski changed:
What|Removed |Added
Ever confirmed|0 |1
Last reconfirmed|
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107455
--- Comment #2 from Andrew Pinski ---
Note GCC does this optimization at the gimple level some of the times when it
comes to the same type.
Witness:
int x (int t)
{
if (t & 256)
return -26;
return 0;
}
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107455
Jeffrey A. Law changed:
What|Removed |Added
CC||law at gcc dot gnu.org
--- Comment #3