This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Is the following "dg" syntax correct?
- From: Janis Johnson <janis187 at us dot ibm dot com>
- To: Dominique Dhumieres <dominiq at lps dot ens dot fr>
- Cc: gcc at gcc dot gnu dot org
- Date: Mon, 11 Aug 2008 16:07:02 -0700
- Subject: Re: Is the following "dg" syntax correct?
- References: <20080808234040.C103B3BAB9@mailhost.lps.ens.fr>
- Reply-to: janis187 at us dot ibm dot com
On Sat, 2008-08-09 at 01:40 +0200, Dominique Dhumieres wrote:
> Is the following syntax correct?
>
> /* { dg-require-effective-target ilp32 && dfp } */
>
> It appears in gcc/testsuite/gcc.target/i386/pr32000-2.c and
> gcc/testsuite/gcc.target/i386/stackalign/return-3.c.
I thought there had to be braces around the target expression:
{ dg-require-effective-target { ilp32 && dfp } }
but nothing complains and it seems to work fine.
Janis