Re: [committed] d: Support deprecated, @disable, and user-defined attributes on enum members

2021-01-11 Thread Iain Buclaw via Gcc-patches
Excerpts from Andreas Schwab's message of January 10, 2021 9:08 am: > ../../gcc/d/dmd/parse.c: In member function 'Dsymbols* > Parser::parseDeclDefs(int, Dsymbol**, PrefixAttributes*)': > ../../gcc/d/dmd/parse.c:647:29: error: unused variable 'e' > [-Werror=unused-variable] > 647 |

Re: [committed] d: Support deprecated, @disable, and user-defined attributes on enum members

2021-01-10 Thread Andreas Schwab
../../gcc/d/dmd/parse.c: In member function 'Dsymbols* Parser::parseDeclDefs(int, Dsymbol**, PrefixAttributes*)': ../../gcc/d/dmd/parse.c:647:29: error: unused variable 'e' [-Werror=unused-variable] 647 | Expression *e = NULL; | ^ Andreas. --

[committed] d: Support deprecated, @disable, and user-defined attributes on enum members

2021-01-09 Thread Iain Buclaw via Gcc-patches
Hi, This patch merges the D front-end with upstream dmd 9bba772fa, adding support for `deprecated`, `@disable` and user-defined attributes to be applied to enum members. Bootstrapped and regression tested on x86_64-linux-gnu/-m32/-mx32, and committed to mainline. Regards Iain. ---