From b0da97091dbeca1e2653208febaa747f4e5a85bb Mon Sep 17 00:00:00 2001 From: Georg-Johann Lay Date: Thu, 1 Dec 2016 10:21:31 +0000 Subject: [PATCH] tiny-memx.c: Only perform if target avr_tiny. gcc/testsuite/ * gcc.target/avr/tiny-memx.c: Only perform if target avr_tiny. * gcc.target/avr/tiny-caller-save.c: Dito. From-SVN: r243105 --- gcc/testsuite/ChangeLog | 5 +++++ gcc/testsuite/gcc.target/avr/tiny-caller-save.c | 2 +- gcc/testsuite/gcc.target/avr/tiny-memx.c | 2 +- 3 files changed, 7 insertions(+), 2 deletions(-) diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 98a14c64562..ab55b438fcc 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2016-12-01 Georg-Johann Lay + + * gcc.target/avr/tiny-memx.c: Only perform if target avr_tiny. + * gcc.target/avr/tiny-caller-save.c: Dito. + 2016-12-01 Andre Vehreschild * gfortran.dg/coarray_lib_alloc_4.f90: Fix for 32-bits. diff --git a/gcc/testsuite/gcc.target/avr/tiny-caller-save.c b/gcc/testsuite/gcc.target/avr/tiny-caller-save.c index 63fad3a1205..ff35161462c 100644 --- a/gcc/testsuite/gcc.target/avr/tiny-caller-save.c +++ b/gcc/testsuite/gcc.target/avr/tiny-caller-save.c @@ -1,4 +1,4 @@ -/* { dg-do compile } */ +/* { dg-do compile { target avr_tiny } } */ /* { dg-options "-mmcu=avrtiny -gdwarf -Os" } */ /* This is a stripped down piece of libgcc2.c that triggerd an ICE for avr with diff --git a/gcc/testsuite/gcc.target/avr/tiny-memx.c b/gcc/testsuite/gcc.target/avr/tiny-memx.c index cdda86b14bf..f691dcfb83f 100644 --- a/gcc/testsuite/gcc.target/avr/tiny-memx.c +++ b/gcc/testsuite/gcc.target/avr/tiny-memx.c @@ -1,4 +1,4 @@ -/* { dg-do compile } */ +/* { dg-do compile { target avr_tiny } } */ /* { dg-options "-mmcu=avrtiny" } */ const __memx char ascmonth[] = "Jan"; /* { dg-error "not supported" } */ -- 2.30.2