http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55717
Jakub Jelinek <jakub at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |ASSIGNED Last reconfirmed| |2012-12-17 AssignedTo|unassigned at gcc dot |jakub at gcc dot gnu.org |gnu.org | Ever Confirmed|0 |1 --- Comment #5 from Jakub Jelinek <jakub at gcc dot gnu.org> 2012-12-17 18:32:55 UTC --- Created attachment 28987 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=28987 gcc48-pr55717.patch Untested fix. Instead of returning very likely bogus value x this patch returns NULL and let the callers deal with that as error (so they don't try that simplification, instead try some other or just punt at simplifying).