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

--- Comment #5 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
r15-521 was meant for 15 only:

On Thu, Apr 25, 2024 at 11:30:48AM -0400, Jason Merrill wrote:                  
> Hmm, maybe maybe_clone_body shouldn't clear DECL_SAVED_TREE for aliases, but  
>                                                                               
>                         
> rather set it to some stub like void_node?                                    
>                                                                               
>                         
>                                                                               
>                                                                               
>                         
> Though with all these changes, it's probably better to go with your first     
>                                                                               
>                         
> patch for GCC 14 and delay this approach to 15.  Your v1 patch is OK for 14.  
>                                                                               
>                         

Though, at this point guess it has been well tested on the trunk, so I'm not
against the backport.
Looking through bugzilla, r15-521 is also mentioned in PR117813 and in
PR109464.
So, if we backport r15-521, maybe we should backport also r15-2154.

Reply via email to