http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52631
--- Comment #5 from Andrew Pinski <pinskia at gcc dot gnu.org> 2012-03-24 03:10:37 UTC --- Ok, I have a patch which only tries to looking up the simplified expression and then if we find it, use it, otherwise use the original expression. I now understand why this makes a difference (for FRE it does not though).