On Sun, 17 Dec 2023, Martin Uecker wrote:

> diff --git a/gcc/testsuite/gcc.dg/c23-tag-enum-1.c 
> b/gcc/testsuite/gcc.dg/c23-tag-enum-1.c
> new file mode 100644
> index 00000000000..a81a5afc456
> --- /dev/null
> +++ b/gcc/testsuite/gcc.dg/c23-tag-enum-1.c

> +void test2(void)
> +{
> +  enum ee *a;
> +  enum ee { F = 2 } *b;

There's no prior declaration of enum ee, so this is using the GNU 
extension of forward enum declarations, and should move to a gnu23-* test.

Patch 2 is OK with that change.

-- 
Joseph S. Myers
jos...@codesourcery.com

Reply via email to