https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115543
Bug ID: 115543 Summary: DWARF call_site_parameter entries are not generated for stack-passed parameters Product: gcc Version: 14.1.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c Assignee: unassigned at gcc dot gnu.org Reporter: spevnev16 at gmail dot com Target Milestone: --- When compiling a C function with more than 6 parameters on x86_64, its call_site contains only the first 6 parameters, while the others (which are passed through stack rather than registers) only have formal_parameters in the subprogram DIE. I assume that the number 6 is related to the way parameters are passed on x86_64 (i.e. only 6 are passed through registers) and thus this number may differ based on the architecture. version: 14.1.0 target: x86_64-linux-gnu configured: /usr/src/gcc/configure --build=x86_64-linux-gnu --disable-multilib --enable-languages=c,c++,fortran,go compiled with: gcc -g3 -O1 -Wall -Wextra -pedantic main.c