[Bug ipa/101928] Incorrect argument list for varardic functions

pinskia at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Sun Oct 12 01:39:19 GMT 2025


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

--- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
>LLDB rejected this debug info:

That was a lldb bug and has been fixed in the mean time.

But we still produce the bad debug info it seems:
(lldb) p varargs
(void (*)(int, int, int, int, ...)) 0x0000000000401130 (a.out`varargs at
t.c:6:3)


(gdb) ptype varargs
type = void (int, int, int, int, ...)


More information about the Gcc-bugs mailing list