This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [C PATCH] Diagnose predefined identifiers in pedantic mode


Marek Polacek <polacek@redhat.com> a Ãcrit:


> diff --git gcc/testsuite/gcc.dg/concat.c gcc/testsuite/gcc.dg/concat.c
> index 0b9d6f6..e3bfd46 100644
> --- gcc/testsuite/gcc.dg/concat.c
> +++ gcc/testsuite/gcc.dg/concat.c
> @@ -1,6 +1,7 @@
>  /* Copyright (C) 2001 Free Software Foundation, Inc.  */
>  
>  /* { dg-do compile } */
> +/* { dg-options "" } */

Just for my own education, why this change?

> diff --git gcc/testsuite/gcc.dg/pr22458-1.c gcc/testsuite/gcc.dg/pr22458-1.c
> index 8b8032c..023fb21 100644
> --- gcc/testsuite/gcc.dg/pr22458-1.c
> +++ gcc/testsuite/gcc.dg/pr22458-1.c
> @@ -1,4 +1,6 @@
>  /* { dg-error "expected declaration or statement" "" { target *-*-* } 0 } */
> +/* { dg-options "" } */
> +

Likewise.

> diff --git gcc/testsuite/gcc.dg/pr33676.c gcc/testsuite/gcc.dg/pr33676.c
> index 79c830e..c234470 100644
> --- gcc/testsuite/gcc.dg/pr33676.c
> +++ gcc/testsuite/gcc.dg/pr33676.c
> @@ -1,4 +1,5 @@
>  /* { dg-do run } */
> +/* { dg-options "" } */
>  /* { dg-options "-O0 -mtune=i386 -fomit-frame-pointer" { target { { i?86-*-* x86_64-*-* } && ia32 } } } */

Likewise.

Cheers.

-- 
		Dodji


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]