diff mbox

[testsuite] Require scheduling support for test that uses -fschedule-insns

Message ID 20130501094052.GA30962@atmel.com
State New
Headers show

Commit Message

Senthil Kumar Selvaraj May 1, 2013, 9:40 a.m. UTC
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.

Comments

Mike Stump May 2, 2013, 12:04 a.m. UTC | #1
On May 1, 2013, at 2:40 AM, Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com> wrote:
> 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. 

Ok.
Senthil Kumar Selvaraj May 7, 2013, 9:08 a.m. UTC | #2
Could someone commit this patch please? I don't have commit access.

Regards
Senthil

On Wed, May 01, 2013 at 05:04:18PM -0700, Mike Stump wrote:
> On May 1, 2013, at 2:40 AM, Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com> wrote:
> > 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. 
> 
> Ok.
>
Mike Stump May 14, 2013, 11:13 p.m. UTC | #3
On May 1, 2013, at 2:40 AM, Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com> wrote:
> 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.

Committed revision 198909.
diff mbox

Patch

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));