https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71571

--- Comment #15 from Hans-Peter Nilsson <hp at gcc dot gnu.org> ---
(In reply to David B. Robins from comment #12)
> Note that it does still need -fno-inline.

I almost missed.

> I know why it doesn't crash with -O0: there is a text-section constant
> inserted after the thunk, and it's inlined at higher optimization levels.
> The instruction said constant maps to is either harmless or forbidden as a
> delay slot instruction. So the underlying issue still occurs but the crash
> doesn't.

Ah, ok, thanks for the analysis.

> I am OK with my name/email being included in the ChangeLog, thank you.

Great.  BTW, I'm keeping the PR open, pending back-ports to open branches.

Thanks again!

Reply via email to