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

--- Comment #386 from John Paul Adrian Glaubitz <glaubitz at physik dot 
fu-berlin.de> ---
(In reply to Kazumoto Kojima from comment #374)
> Created attachment 59286 [details]
> a patch for c#367
> 
> We use movsf_ie as a fall-back for for moving fp-reg from/to multiword
> subreg in 59190.  Looks this confuses LRA with the SI mode scratch
> constrained to "y".
> 
> The patch uses a new pattern instead of movsf_ie.  It's a mini movsf_ie in a
> sense but with the SFmode scratch.
> 
> Tested only with target libgcc/libstdc++v3 build and c testsuite.

I can confirm that patch 59286 fixes the ICE from comment #367 for me.

Currently, I'm using the sh-lra-take3 branch with the patches 59216, 59219 and
59286 which works best so far for all my tests, including WebKit.

Reply via email to