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.

-- 
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 };
 short b[15] = { 3, 4 };

Reply via email to