From 5c318df5275b3dd6843190b8e65580f8a63eb246 Mon Sep 17 00:00:00 2001 From: Georg-Johann Lay Date: Thu, 7 Jul 2011 15:13:01 +0000 Subject: [PATCH] pragma-align.c: Run only if target !default_packed. * gcc.dg/pragma-align.c: Run only if target !default_packed. * gcc.dg/pr46212.c: Run only if target int32plus. * gcc.dg/torture/pr48146.c: Ditto. * gcc.dg/tree-ssa/vrp51.c: Ditto. * c-c++-common/pr44832.c: Ditto. * gcc.dg/pr49544.c: Run only if target ptr32plus. * gcc.dg/pr31490.c: Ditto. * gcc.dg/torture/builtin-math-7.c: Run only if target large_double. * gcc.dg/torture/pr45764.c: Skip for AVR. * gcc.dg/pr47893.c: Ditto. From-SVN: r175983 --- gcc/testsuite/ChangeLog | 14 ++++++++++++++ gcc/testsuite/c-c++-common/pr44832.c | 1 + gcc/testsuite/gcc.dg/pr31490.c | 2 ++ gcc/testsuite/gcc.dg/pr46212.c | 1 + gcc/testsuite/gcc.dg/pr47893.c | 1 + gcc/testsuite/gcc.dg/pr49544.c | 1 + gcc/testsuite/gcc.dg/pragma-align.c | 2 +- gcc/testsuite/gcc.dg/torture/builtin-math-7.c | 1 + gcc/testsuite/gcc.dg/torture/pr45764.c | 1 + gcc/testsuite/gcc.dg/torture/pr48146.c | 1 + gcc/testsuite/gcc.dg/tree-ssa/vrp51.c | 1 + 11 files changed, 25 insertions(+), 1 deletion(-) diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 7be00601d7b..ea8d6f8cc40 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,17 @@ +2011-07-07 Georg-Johann Lay + + * gcc.dg/pragma-align.c: Run only if target !default_packed. + * gcc.dg/pr46212.c: Run only if target int32plus. + * gcc.dg/torture/pr48146.c: Ditto. + * gcc.dg/tree-ssa/vrp51.c: Ditto. + * c-c++-common/pr44832.c: Ditto. + * gcc.dg/pr49544.c: Run only if target ptr32plus. + * gcc.dg/pr31490.c: Ditto. + * gcc.dg/torture/builtin-math-7.c: Run only if target + large_double. + * gcc.dg/torture/pr45764.c: Skip for AVR. + * gcc.dg/pr47893.c: Ditto. + 2011-07-07 Janis Johnson * lib/target-supports.exp (check_effective_target_arm_thumb1): New. diff --git a/gcc/testsuite/c-c++-common/pr44832.c b/gcc/testsuite/c-c++-common/pr44832.c index ccb2826ee08..b57e525ea9c 100644 --- a/gcc/testsuite/c-c++-common/pr44832.c +++ b/gcc/testsuite/c-c++-common/pr44832.c @@ -2,6 +2,7 @@ /* { dg-do compile } */ /* { dg-options "-O2 -fcompare-debug" } */ /* { dg-options "-O2 -fcompare-debug -fno-short-enums" {target short_enums} } */ +/* { dg-require-effective-target int32plus } */ struct rtx_def; typedef struct rtx_def *rtx; diff --git a/gcc/testsuite/gcc.dg/pr31490.c b/gcc/testsuite/gcc.dg/pr31490.c index 966a1b4a50f..1c682db5fb8 100644 --- a/gcc/testsuite/gcc.dg/pr31490.c +++ b/gcc/testsuite/gcc.dg/pr31490.c @@ -1,6 +1,8 @@ /* PR middle-end/31490 */ /* { dg-do compile } */ /* { dg-require-named-sections "" } */ +/* { dg-require-effective-target ptr32plus } */ + int cpu (void *attr) {} const unsigned long x __attribute__((section("foo"))) = (unsigned long)&cpu; const unsigned long g __attribute__((section("foo"))) = 0; diff --git a/gcc/testsuite/gcc.dg/pr46212.c b/gcc/testsuite/gcc.dg/pr46212.c index 9dbb601e026..67ffa7f1724 100644 --- a/gcc/testsuite/gcc.dg/pr46212.c +++ b/gcc/testsuite/gcc.dg/pr46212.c @@ -2,6 +2,7 @@ /* { dg-do compile } */ /* { dg-options "-O3 -funroll-loops" } */ /* { dg-options "-O3 -funroll-loops -march=i386" { target { { i686-*-* x86_64-*-* } && ilp32 } } } */ +/* { dg-require-effective-target int32plus } */ static inline unsigned foo (void *x) diff --git a/gcc/testsuite/gcc.dg/pr47893.c b/gcc/testsuite/gcc.dg/pr47893.c index 317d95d3fb3..86eb78d0f45 100644 --- a/gcc/testsuite/gcc.dg/pr47893.c +++ b/gcc/testsuite/gcc.dg/pr47893.c @@ -2,6 +2,7 @@ /* { dg-do run } */ /* { dg-options "-O2" } */ /* { dg-options "-O2 -mtune=atom -fno-omit-frame-pointer -fno-strict-aliasing" { target { { i?86-*-* x86_64-*-* } && ilp32 } } } */ +/* { dg-skip-if "Too much RAM needed" { "avr-*-*" } { "*" } { "" } } */ extern void abort (void); diff --git a/gcc/testsuite/gcc.dg/pr49544.c b/gcc/testsuite/gcc.dg/pr49544.c index 65498f4ddc0..9e558da2765 100644 --- a/gcc/testsuite/gcc.dg/pr49544.c +++ b/gcc/testsuite/gcc.dg/pr49544.c @@ -1,6 +1,7 @@ /* PR debug/49544 */ /* { dg-do compile } */ /* { dg-options "-g -O2" } */ +/* { dg-require-effective-target ptr32plus } */ int baz (int, int, void *); diff --git a/gcc/testsuite/gcc.dg/pragma-align.c b/gcc/testsuite/gcc.dg/pragma-align.c index 3569a1fb241..4c0138b5f89 100644 --- a/gcc/testsuite/gcc.dg/pragma-align.c +++ b/gcc/testsuite/gcc.dg/pragma-align.c @@ -1,6 +1,6 @@ /* Prove that pragma alignment handling works somewhat. */ -/* { dg-do run } */ +/* { dg-do run { target { ! default_packed } } } */ extern void abort (void); diff --git a/gcc/testsuite/gcc.dg/torture/builtin-math-7.c b/gcc/testsuite/gcc.dg/torture/builtin-math-7.c index 5bc432924ec..8fe89158a9a 100644 --- a/gcc/testsuite/gcc.dg/torture/builtin-math-7.c +++ b/gcc/testsuite/gcc.dg/torture/builtin-math-7.c @@ -6,6 +6,7 @@ /* { dg-do run } */ /* { dg-add-options ieee } */ +/* { dg-require-effective-target large_double } */ extern void link_error(int); diff --git a/gcc/testsuite/gcc.dg/torture/pr45764.c b/gcc/testsuite/gcc.dg/torture/pr45764.c index 6d43b872596..ac8c075dbb9 100644 --- a/gcc/testsuite/gcc.dg/torture/pr45764.c +++ b/gcc/testsuite/gcc.dg/torture/pr45764.c @@ -1,4 +1,5 @@ /* { dg-do run } */ +/* { dg-skip-if "Too much RAM needed" { "avr-*-*" } { "*" } { "" } } */ int result[64][16]; diff --git a/gcc/testsuite/gcc.dg/torture/pr48146.c b/gcc/testsuite/gcc.dg/torture/pr48146.c index c208325311c..c0490352850 100644 --- a/gcc/testsuite/gcc.dg/torture/pr48146.c +++ b/gcc/testsuite/gcc.dg/torture/pr48146.c @@ -1,4 +1,5 @@ /* { dg-do compile } */ +/* { dg-require-effective-target int32plus } */ static unsigned char safe_sub_func_int_s_s (int si1, unsigned char si2) diff --git a/gcc/testsuite/gcc.dg/tree-ssa/vrp51.c b/gcc/testsuite/gcc.dg/tree-ssa/vrp51.c index 5f1cafb0a50..51c51df6cc9 100644 --- a/gcc/testsuite/gcc.dg/tree-ssa/vrp51.c +++ b/gcc/testsuite/gcc.dg/tree-ssa/vrp51.c @@ -1,6 +1,7 @@ /* PR tree-optimization/28632 */ /* { dg-do compile } */ /* { dg-options "-O2 -ftree-vrp" } */ +/* { dg-require-effective-target int32plus } */ void v4 (unsigned a, unsigned b) -- 2.30.2