Re: [PATCH] libiberty: remove FINAL and OVERRIDE from ansidecl.h

2022-05-24 Thread Richard Biener via Gcc-patches
On Tue, May 24, 2022 at 4:10 PM David Malcolm wrote: > > On Tue, 2022-05-24 at 17:09 +0930, Alan Modra wrote: > > On Mon, May 23, 2022 at 07:42:29PM -0400, David Malcolm via Binutils > > wrote: > > > Any objections, or is there a reason to keep these macros that I'm > > > not aware of? (and did I

Re: [PATCH] libiberty: remove FINAL and OVERRIDE from ansidecl.h

2022-05-24 Thread David Malcolm via Gcc-patches
On Tue, 2022-05-24 at 17:09 +0930, Alan Modra wrote: > On Mon, May 23, 2022 at 07:42:29PM -0400, David Malcolm via Binutils > wrote: > > Any objections, or is there a reason to keep these macros that I'm > > not aware of?  (and did I send this to all the pertinent lists?) > > No objection from me.

Re: [PATCH] libiberty: remove FINAL and OVERRIDE from ansidecl.h

2022-05-24 Thread Alan Modra via Gcc-patches
On Mon, May 23, 2022 at 07:42:29PM -0400, David Malcolm via Binutils wrote: > Any objections, or is there a reason to keep these macros that I'm > not aware of? (and did I send this to all the pertinent lists?) No objection from me. These macros are not used anywhere in binutils-gdb. -- Alan M

[PATCH] libiberty: remove FINAL and OVERRIDE from ansidecl.h

2022-05-23 Thread David Malcolm via Gcc-patches
libiberty's ansidecl.h provides macros FINAL and OVERRIDE to allow virtual functions to be labelled with the C++11 "final" and "override" specifiers, but with empty implementations on pre-C++11 C++ compilers. We've used the macros in many places in GCC, but as of as of GCC 11 onwards GCC has requi