This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug middle-end/56791] [4.8/4.9 Regression] Segmentation fault in stage2 gengenrtl -- Incorrect instruction sequence generated by reload
- From: "bernds at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Wed, 16 Oct 2013 19:00:40 +0000
- Subject: [Bug middle-end/56791] [4.8/4.9 Regression] Segmentation fault in stage2 gengenrtl -- Incorrect instruction sequence generated by reload
- Auto-submitted: auto-generated
- References: <bug-56791-4 at http dot gcc dot gnu dot org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56791
--- Comment #7 from Bernd Schmidt <bernds at gcc dot gnu.org> ---
Created attachment 31021
--> http://gcc.gnu.org/bugzilla/attachment.cgi?id=31021&action=edit
Candidate patch.
The workaround patch is nonsensical since pa_option_override doesn't ever get
called at the right times for this to work. The effect is to entirely disable
autoinc generation.
Instead, try this. I think I'm at about 95% certainty that I understand the
problem. The patch is however untested except to verify the output for the
testcase looks plausible.