https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93844
--- Comment #3 from Tom de Vries <vries at gcc dot gnu.org> --- (In reply to Richard Biener from comment #1) > and there's a duplicate PR about this. I found: PR92386 - "gdb issue with variable-shadowing" which sound similar.