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

[Patch, testsuite] Require scheduling support in gcc.dg/superblock.c


Hi,

gcc.dg/superblock.c uses the -fdump-rtl-sched2 option and then scans the 
resulting dump. This fails for the AVR target, as it doesn't have any
instruction scheduling support.

The attached patch makes this test require scheduling support in the
target. If ok, could someone commit please? I do not have commit access.

Regards
Senthil

gcc/testsuite

2013-11-04	Senthil Kumar Selvaraj	<senthil_kumar.selvaraj@atmel.com>

	* gcc.dg/superblock.c: Require scheduling support

diff --git gcc/testsuite/gcc.dg/superblock.c gcc/testsuite/gcc.dg/superblock.c
index 2b9aedf..272d161 100644
--- gcc/testsuite/gcc.dg/superblock.c
+++ gcc/testsuite/gcc.dg/superblock.c
@@ -1,5 +1,6 @@
 /* { dg-do compile } */
 /* { dg-options "-O2 -fno-asynchronous-unwind-tables -fsched2-use-superblocks -fdump-rtl-sched2 -fdump-rtl-bbro" } */
+/* { dg-require-effective-target scheduling } */
 
 typedef int aligned __attribute__ ((aligned (64)));
 extern void abort (void);


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