diff mbox

[testsuite,committed] : Fix two tests.

Message ID 51348556.2050201@gjlay.de
State New
Headers show

Commit Message

Georg-Johann Lay March 4, 2013, 11:28 a.m. UTC
http://gcc.gnu.org/r196429

gcc.dg/pr55153.c needs targets with scheduling, thus dg-require it.

gcc.dg/pr56228.c will fail on AVR, thus skip it there:


       * gcc.dg/pr55153.c: Add dg-require-effective-target scheduling.
       * gcc.dg/pr56228.c <avr>: Skip.
diff mbox

Patch

Index: gcc.dg/pr55153.c
===================================================================
--- gcc.dg/pr55153.c    (revision 196329)
+++ gcc.dg/pr55153.c    (working copy)
@@ -1,6 +1,7 @@ 
 /* PR tree-optimization/55153 */
 /* { dg-do compile } */
 /* { dg-options "-O -fsched2-use-superblocks -fschedule-insns2" } */
+/* { dg-require-effective-target scheduling } */

 extern int a[];

Index: gcc.dg/pr56228.c
===================================================================
--- gcc.dg/pr56228.c    (revision 196329)
+++ gcc.dg/pr56228.c    (working copy)
@@ -1,6 +1,7 @@ 
 /* PR target/56228 */
 /* { dg-do assemble } */
 /* { dg-options "-O2" } */
+/* { dg-skip-if "accessing program memory with data memory address" {
"avr-*-*" } { "*" } { "" } } */

 short a[14] = { 1, 2 };