https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112708
--- Comment #6 from Bruno Haible <bruno at clisp dot org> --- For comparison, what clang 17 with -fsanitize=address does in this situation, is to not generate a stepping point at the function entry (xg-message.c:50). The gdb 'step' command brings me directly to the first statement in the function (xg-message.c:55). This may have some other drawbacks, but at least it prevents the possibility of displaying wrong values for function parameters.