On Wed, 17 Jan 2018, Richard Earnshaw wrote: > + if (TREE_CODE (type) == ARRAY_TYPE) > + { > + /* Force array-to-pointer decay for c++. */ > + gcc_assert (c_dialect_cxx ());
What's the basis for the assertion? Why can't you have a pointer-to-array passed in C? -- Joseph S. Myers jos...@codesourcery.com