This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [C PATCH] Diagnose predefined identifiers in pedantic mode
- From: Dodji Seketeli <dodji at seketeli dot org>
- To: Marek Polacek <polacek at redhat dot com>
- Cc: GCC Patches <gcc-patches at gcc dot gnu dot org>, "Joseph S. Myers" <joseph at codesourcery dot com>
- Date: Tue, 12 Aug 2014 08:17:15 +0200
- Subject: Re: [C PATCH] Diagnose predefined identifiers in pedantic mode
- Authentication-results: sourceware.org; auth=none
- References: <20140810151626 dot GZ24292 at redhat dot com>
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