On Fri, Jan 26, 2024 at 03:16:15PM +0100, Richard Biener wrote:
> The inliner puts variables for parameters of the inlined functions
> in the inline scope in reverse order.  The following reverses them
> again so that we get consistent ordering between the
> DW_TAG_subprogram DW_TAG_formal_parameter and the
> DW_TAG_inlined_subroutine DW_TAG_formal_parameter set.
> 
> I failed to create a testcase with regexps since the inline
> instances have just abstract origins and so I can't match them up.
> 
> Bootstrap & regtest running on x86_64-unknown-linux-gnu.
> 
> OK if that succeeds?
> 
> Thanks,
> Richard.
> 
>       PR debug/103047
>       * tree-inline.cc (initialize_inlined_parameters): Reverse
>       the decl chain of inlined parameters.

LGTM.

        Jakub

Reply via email to