On July 19, 2016 9:01:07 PM GMT+02:00, Aldy Hernandez <al...@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.