On Thu, 7 Sep 2017, Jakub Jelinek wrote: > Ah, ok, so like this instead? > > 2017-09-07 Jakub Jelinek <ja...@redhat.com> > > PR target/82112 > * c-common.c (sync_resolve_size): Instead of c_dialect_cxx () > assertion check that in the condition. > (get_atomic_generic_size): Likewise. Before testing if parameter > has pointer type, if it has array type, call for C++ > default_conversion to perform array-to-pointer conversion. > > * c-c++-common/pr82112.c: New test. > * gcc.dg/pr82112.c: New test.
This version is OK. -- Joseph S. Myers jos...@codesourcery.com