[Bug c/71855] duplicate unspecified_parameters DIE in DWARF for functions with variable arguments
aldyh at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Tue Jul 19 14:11:00 GMT 2016
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71855
Aldy Hernandez <aldyh at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |aldyh at gcc dot gnu.org
--- Comment #3 from Aldy Hernandez <aldyh at gcc dot gnu.org> ---
It isn't clear from the bug what OS or set of header files where used to
generate the dwarf. It would be ideal to include a pre-processed reduced
testcase to help in analyzing this bug.
You can use:
/your/version/gcc -E <whatever_flags_you_used> -c foo.c -save-temps
-save-temps will create the preprocessed foo.i automatically. Then, reduce
this foo.i to the bare minimum, and attach it to this PR.
Also, what flags did you use for GCC in order to get this faulty behavior?
What flags did you use for readelf, or eu-readelf, etc?
Here are some general guidelines for reporting bugs for GCC:
https://gcc.gnu.org/bugs/
More information about the Gcc-bugs
mailing list