This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/71436] [7 Regression] Segmentation fault in arm_output_multireg_pop
- From: "ktkachov at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Tue, 29 Nov 2016 15:00:30 +0000
- Subject: [Bug target/71436] [7 Regression] Segmentation fault in arm_output_multireg_pop
- Auto-submitted: auto-generated
- References: <bug-71436-4@http.gcc.gnu.org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71436
--- Comment #9 from ktkachov at gcc dot gnu.org ---
(In reply to Jakub Jelinek from comment #8)
> Or reload_completed || lra_in_progress, or punt on pseudos in the predicate.
I tried punting on pseudos in the predicate (in ldm_stm_operation_p) and it
fixed the testcase.
I'm tempted by either of these solutions but I'm a bit cautious about the
load_multiple expander that may try to generate a load_multiple early on during
expand and expect a matching pattern. It only generates between 2 and 4 loads
though, so those should be caught by the patterns in ldmstm.md so I think it
will work out okay.