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 tree-optimization/81165] Regression in GCC-8.0.0's optimizer


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81165

--- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Note even GCC 7 misses the following optimization:
if(1>>x2)
Should be converted into:
if(x2 == 0)

I am testing a patch for that, note it does not get us back to where 7.1 was
but still a good thing to do.

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