This is the mail archive of the
mailing list for the binutils project.
Re: RFC: libiberty PATCH to disable demangling of ancient mangling schemes
- From: Eric Gallager <egall at gwmail dot gwu dot edu>
- To: Jason Merrill <jason at redhat dot com>
- Cc: Richard Biener <richard dot guenther at gmail dot com>, Nick Clifton <nickc at redhat dot com>, Pedro Alves <palves at redhat dot com>, Ian Lance Taylor <iant at google dot com>, Jakub Jelinek <jakub at redhat dot com>, matz at gcc dot gnu dot org, sgayou at redhat dot com, tom at tromey dot com, GCC Patches <gcc-patches at gcc dot gnu dot org>, Binutils <binutils at sourceware dot org>
- Date: Sun, 9 Dec 2018 20:04:24 -0500
- Subject: Re: RFC: libiberty PATCH to disable demangling of ancient mangling schemes
- References: <firstname.lastname@example.org> <20181130084211.GX12380@tucnak> <email@example.com> <firstname.lastname@example.org> <20181130140330.GA12380@tucnak> <email@example.com> <CAFiYyc1gTSXgSiJSFKEWaE0UTGbi45-mWHKJnUb4Wvjp86bbFQ@mail.gmail.com> <firstname.lastname@example.org> <CAKOQZ8zspME4gzoRw4xgFcShoqeUfp_e=Og=4S-yKn4EehokeA@mail.gmail.com> <email@example.com> <firstname.lastname@example.org> <email@example.com> <firstname.lastname@example.org> <CADzB+2n6kz=9zLzordWp3gqW+hrLHBhQJ-5p5Lt8Stqv97=nBw@mail.gmail.com> <CAFiYyc1cvVBsv=_cPkw4Up=axBJTbjpgmC8a-1waq0biejW3Xw@mail.gmail.com> <email@example.com>
On 12/7/18, Jason Merrill <firstname.lastname@example.org> wrote:
> On 12/7/18 6:36 AM, Richard Biener wrote:
>> On Thu, Dec 6, 2018 at 10:22 PM Jason Merrill <email@example.com> wrote:
>>> On Thu, Dec 6, 2018 at 11:14 AM Jason Merrill <firstname.lastname@example.org> wrote:
>>>> Looks good to me. Independently, do you see a reason not to disable
>>>> old demangler entirely?
>>> Like so. Does anyone object to this? These mangling schemes haven't
>>> been relevant in decades.
>> Why #ifdef the code? Just rip it out?
> I was thinking as an intermediate measure in case some user wanted it
> for some reason, but I'd be fine with that as well.
A compromise could be to do the #ifdef for GCC 9, see if anyone
complains, and then if no one complains, rip it out entirely for GCC