This is the mail archive of the gcc@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: Is the following "dg" syntax correct?


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


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