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

--- Comment #1 from Segher Boessenkool <segher at gcc dot gnu.org> ---
Author: segher
Date: Mon Nov  5 21:18:22 2018
New Revision: 265821

URL: https://gcc.gnu.org/viewcvs?rev=265821&root=gcc&view=rev
Log:
combine: Don't make an intermediate reg for assigning to sfp (PR87871)

The code with an intermediate register is perfectly fine, but LRA
apparently cannot handle the resulting code, or perhaps something else
is wrong.  In either case, making an extra temporary will not likely
help here, so let's just skip it.


        PR rtl-optimization/87871
        * combine.c (make_more_copies): Skip if dest is frame_pointer_rtx.

Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/combine.c

Reply via email to