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]

Re: [PR debug/71855] avoid emitting DW_TAG_unspecified_parameters twice


On July 19, 2016 9:01:07 PM GMT+02:00, Aldy Hernandez <aldyh@redhat.com> wrote:
>Hi folks.
>
>Ben brought this bug to my attention which was causing a failure in 
>libabigail.
>
>The problem is that varargs functions are getting two 
>DW_TAG_unspecified_parameters DIEs, because they are being emitted in 
>early debug and again in late debug.
>
>This problem appears in GCC 6 and in mainline.
>
>The attached patch fixes the problem everywhere.
>
>Tested on x86-64 Linux.
>
>OK for mainline?

OK everywhere.

Thanks,
Richard.

>p.s. I don't know what the rules are for GCC 6 right now, but if it's 
>open for bugfixes, I'd be more than happy to commit it there if the 
>patch is approved.



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