On Wed, Oct 16, 2024 at 12:21:49PM +, Joseph Myers wrote:
> On Wed, 16 Oct 2024, Jakub Jelinek wrote:
>
> > Generally, I'd prefer dg-additional-options for tests
> > which don't already have dg-options into which one can just add the new
> > flag, or as in the above cases where a new flag is a
On Wed, Oct 16, 2024 at 11:01:49AM +, Joseph Myers wrote:
> --- a/gcc/testsuite/c-c++-common/Wcast-function-type.c
> +++ b/gcc/testsuite/c-c++-common/Wcast-function-type.c
> @@ -1,5 +1,6 @@
> /* { dg-do compile } */
> -/* { dg-options "-Wcast-function-type" } */
> +/* { dg-options "-std=gnu17