This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[debug-early] Only output DW_TAG_GNU_formal_parameter_pack DIEs once


The attached patch fixes gcc/testsuite/g++.dg/debug/dwarf2/template-func-params-7.C.

The problem is that DW_TAG_GNU_formal_parameter_pack DIEs are generated multiple times (once for early dwarf and once for late dwarf). Fixed by only outputting in early dwarf.

Tested with GCC and GDB testsuites.

Committed to branch.

Aldy

Attachment: curr
Description: Text document


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]