diff mbox

fix directives order in a test case

Message ID AANLkTilUNt6zVXfzHTW3nUWLf23rw1o3chfOAxZ3Wm3q@mail.gmail.com
State New
Headers show

Commit Message

Eric Fisher July 1, 2010, 6:36 a.m. UTC
Hi,

I found this problem when run test suite. A 'FAIL' occurs though the
test is not supported on the target. According to the gccint,
dg-require-effective-target,  this directive must appear after any
dg-do directive in the test and before any dg-additional-sources
directive. This patch moves dg-require-effective-target after dg-do.

Is it OK?

ChangeLog:
    *gcc.dg/vect/fast-math-vect-reduc-8.c: move
dg-require-effective-target after dg-do.


Thanks

Eric Fisher
diff mbox

Patch

Index: gcc/testsuite/gcc.dg/vect/fast-math-vect-reduc-8.c
===================================================================
--- gcc/testsuite/gcc.dg/vect/fast-math-vect-reduc-8.c	(revision 161653)
+++ gcc/testsuite/gcc.dg/vect/fast-math-vect-reduc-8.c	(working copy)
@@ -1,5 +1,5 @@ 
-/* { dg-require-effective-target vect_float } */
 /* { dg-do compile } */
+/* { dg-require-effective-target vect_float } */
 
 #include "tree-vect.h"