[PATFCH] libstdc++: Uglify another variable name
Jonathan Wakely
jwakely@redhat.com
Wed Mar 18 14:37:52 GMT 2026
On Wed, 18 Mar 2026 at 14:30, Jakub Jelinek <jakub@redhat.com> wrote:
>
> Hi!
>
> This is needed to make the latest version of the uglification plugin
> I'm about to send PASS.
>
> Tested on x86_64-linux, ok for trunk?
OK.
I have the same patch locally, with some additions to
17_intro/names.cc so I'll just push the testsuite change, once you've
pushed this.
>
> 2026-03-18 Jakub Jelinek <jakub@redhat.com>
>
> * include/bits/regex_compiler.h (_Compiler::_M_pop): Uglify ret
> variable name.
>
> --- libstdc++-v3/include/bits/regex_compiler.h.jj 2026-03-03 15:43:33.136814455 +0100
> +++ libstdc++-v3/include/bits/regex_compiler.h 2026-03-18 15:22:12.833396731 +0100
> @@ -172,9 +172,9 @@ namespace __detail
> _StateSeqT
> _M_pop()
> {
> - auto ret = _M_stack.top();
> + auto __ret = _M_stack.top();
> _M_stack.pop();
> - return ret;
> + return __ret;
> }
>
> static _FlagT
>
> Jakub
>
More information about the Libstdc++
mailing list