Re: [PATCH v5] warning about const multidimensional array as function parameter

2014-12-19 Thread Joseph Myers
On Mon, 8 Dec 2014, Martin Uecker wrote: Another version of this patch. I fixed the formatting problems and the spurios use of OPT_Wdiscarded_array_qualifiers. I also added '-pedantic -Wdiscarded-array-qualifiers' to the dg-options in 'testsuite/gcc.dg/qual-component-1.c' and changed the

[PATCH v5] warning about const multidimensional array as function parameter

2014-12-08 Thread Martin Uecker
Another version of this patch. I fixed the formatting problems and the spurios use of OPT_Wdiscarded_array_qualifiers. I also added '-pedantic -Wdiscarded-array-qualifiers' to the dg-options in 'testsuite/gcc.dg/qual-component-1.c' and changed the expected warnings to the new ones. For some