http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55717
--- Comment #7 from Andreas Krebbel <krebbel at gcc dot gnu.org> 2012-12-18 11:35:33 UTC --- (In reply to comment #5) > Created attachment 28987 [details] > 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). Thanks. I've tested your patch on s390 and s390x. No regressions.