This is the mail archive of the
mailing list for the GCC 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: <email@example.com> <20181130084211.GX12380@tucnak> <firstname.lastname@example.org> <email@example.com> <20181130140330.GA12380@tucnak> <firstname.lastname@example.org> <CAFiYyc1gTSXgSiJSFKEWaE0UTGbi45-mWHKJnUb4Wvjp86bbFQ@mail.gmail.com> <email@example.com> <CAKOQZ8zspME4gzoRw4xgFcShoqeUfp_e=Og=4S-yKn4EehokeA@mail.gmail.com> <firstname.lastname@example.org> <email@example.com> <firstname.lastname@example.org> <email@example.com> <CADzB+2n6kz=9zLzordWp3gqW+hrLHBhQJ-5p5Lt8Stqv97=nBw@mail.gmail.com> <CAFiYyc1cvVBsv=_cPkw4Up=axBJTbjpgmC8a-1waq0biejW3Xw@mail.gmail.com> <firstname.lastname@example.org>
On 12/7/18, Jason Merrill <email@example.com> wrote:
> On 12/7/18 6:36 AM, Richard Biener wrote:
>> On Thu, Dec 6, 2018 at 10:22 PM Jason Merrill <firstname.lastname@example.org> wrote:
>>> On Thu, Dec 6, 2018 at 11:14 AM Jason Merrill <email@example.com> 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