[Patch, testsuite] Require scheduling support for test that uses -fschedule-insns
Senthil Kumar Selvaraj
senthil_kumar.selvaraj@atmel.com
Wed May 1 09:41:00 GMT 2013
gcc.dg/torture/alias-1.c specifies -fschedule-insns in its dg-options,
and this causes it to fail for targets that don't support that option.
This patch makes the test unsupported for those targets.
If ok, could someone apply please? I don't have commit access.
Regards
Senthil
gcc/testsuite/ChangeLog
2013-05-01 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
* gcc.dg/torture/alias-1.c: Add dg-require-effective-target
scheduling.
diff --git gcc/testsuite/gcc.dg/torture/alias-1.c gcc/testsuite/gcc.dg/torture/alias-1.c
index 1e60341..92b8809 100644
--- gcc/testsuite/gcc.dg/torture/alias-1.c
+++ gcc/testsuite/gcc.dg/torture/alias-1.c
@@ -1,5 +1,6 @@
/* { dg-do run } */
/* { dg-options "-fschedule-insns" } */
+/* { dg-require-effective-target scheduling } */
extern void abort (void) __attribute__((noreturn));
More information about the Gcc-patches
mailing list