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

--- Comment #4 from Paul Hua <paul.hua.gm at gmail dot com> ---
(In reply to Jakub Jelinek from comment #3)
> Created attachment 45960 [details]
> gcc9-pr89378.patch
> 
> Untested (quite obvious) fix, though I don't really have a way to test this.
> If you could test this, I can submit it to gcc-patches.
> 
> In RTL, a SUBREG of a SUBREG is invalid, and gen_lowpart is a function that
> takes care of all the folding to get the right single SUBREG.

The attachment patch fix the bug.

Bootstrap and test passed, please submit the patch. Thanks for fix this bug.

Reply via email to