On Sat, 7 Jun 2025, Martin Uecker wrote: > Checking assertion revealed that we sometimes produce > composite types with incorrect qualifiers, e.g. the example > > int f(int [_Atomic]); > int f(int [_Atomic]); > int f(int [_Atomic]); > > was rejected because atomic was lost in the second declaration. > > PR c/120510 > > gcc/ChangeLog: > * c-typeck.cc (composite_types_internal): Handle arrays > declared with atomic for function arguments. > > gcc/testsuite/ChangeLog: > * gcc.dg/pr120510.c
OK. -- Joseph S. Myers josmy...@redhat.com