This is the mail archive of the 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]

Committed: fix gcc.dg/asm-a.c dg-require-effective-target order

Spotted because this test failed for mmix-knuth-mmixware, while gcc.log
clearly indicated that the ilp32 test was executed and worked.  Apparently
dg-require-effective-target command must be specified *after* the dg-do
target.  Committed as obvious.

I don't see it as being documented as a requirement, though.
Perhaps the order dependence is a bug?

	* gcc.dg/asm-a.c: Move dg-require-effective-target to
	after dg-do.

Index: asm-a.c
RCS file: /cvs/gcc/gcc/gcc/testsuite/gcc.dg/asm-a.c,v
retrieving revision 1.2
diff -p -c -u -p -r1.2 asm-a.c
cvs diff: conflicting specifications of output style
--- asm-a.c	18 Jan 2005 17:53:23 -0000	1.2
+++ asm-a.c	19 Jan 2005 20:59:52 -0000
@@ -1,6 +1,6 @@
-/* { dg-require-effective-target ilp32 } */
 /* { dg-options "-O2" } */
 /* { dg-do compile } */
+/* { dg-require-effective-target ilp32 } */

 /* The problem was we were not striping the long cast here.
    Note this really should be invalid code but not for the

brgds, H-P

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