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

Segher Boessenkool <segher at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
     Ever confirmed|0                           |1
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2025-10-14
             Target|powerpc64le-linux-gnu       |powerpc*

--- Comment #3 from Segher Boessenkool <segher at gcc dot gnu.org> ---
(In reply to Andrew Pinski from comment #2)
> Is the problem really an out of date REG_UNUSED  here?

No, the problem is that the two moves from LR are CSEd, but only one of them is
marked FRAME_RELATED, which can result in nothing getting CFI generated for it
anymore (which is what FRAME_RELATED really means: it is set on those insns
that GCC will automatically generate CFI for, instead of the backend (or other
code, like shrink-wrap.cc) having to do everything manually).

Reply via email to