This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug rtl-optimization/55717] [4.8 Regression] ICE in form_sum, at reload.c:5400
- From: "krebbel at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Tue, 18 Dec 2012 11:35:33 +0000
- Subject: [Bug rtl-optimization/55717] [4.8 Regression] ICE in form_sum, at reload.c:5400
- Auto-submitted: auto-generated
- References: <bug-55717-4@http.gcc.gnu.org/bugzilla/>
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.