diff options
author | Joern Rennecke <joern.rennecke@riscy-ip.com> | 2024-08-12 11:30:02 +0100 |
---|---|---|
committer | Joern Rennecke <joern.rennecke@riscy-ip.com> | 2024-08-12 11:30:02 +0100 |
commit | 24df2ab33c5e805054006e7b4b94d4270d82074f (patch) | |
tree | 1e3af7e0c38580f6ec183ab3cc1b51b89d04e4b5 | |
parent | 46bd63d872ffb9733c4fff51033447f26ce56576 (diff) | |
download | gcc-24df2ab33c5e805054006e7b4b94d4270d82074f.zip gcc-24df2ab33c5e805054006e7b4b94d4270d82074f.tar.gz gcc-24df2ab33c5e805054006e7b4b94d4270d82074f.tar.bz2 |
16-bit testsuite fixes - excessive code size
gcc/testsuite/
* gcc.c-torture/execute/20021120-1.c: Skip if not size20plus or -Os.
* gcc.dg/fixed-point/convert-float-4.c: Require size20plus.
* gcc.dg/torture/pr112282.c: Skip if -O0 unless size20plus.
* g++.dg/lookup/pr21802.C: Require size20plus.
-rw-r--r-- | gcc/testsuite/g++.dg/lookup/pr21802.C | 1 | ||||
-rw-r--r-- | gcc/testsuite/gcc.c-torture/execute/20021120-1.c | 2 | ||||
-rw-r--r-- | gcc/testsuite/gcc.dg/fixed-point/convert-float-4.c | 1 | ||||
-rw-r--r-- | gcc/testsuite/gcc.dg/torture/pr112282.c | 1 |
4 files changed, 5 insertions, 0 deletions
diff --git a/gcc/testsuite/g++.dg/lookup/pr21802.C b/gcc/testsuite/g++.dg/lookup/pr21802.C index 18b2219..0b1d63c 100644 --- a/gcc/testsuite/g++.dg/lookup/pr21802.C +++ b/gcc/testsuite/g++.dg/lookup/pr21802.C @@ -1,5 +1,6 @@ // PR c++/21802 // { dg-do run } +// { dg-require-effective-target size20plus } #include <cassert> struct X; diff --git a/gcc/testsuite/gcc.c-torture/execute/20021120-1.c b/gcc/testsuite/gcc.c-torture/execute/20021120-1.c index 68043cc..013e0a4 100644 --- a/gcc/testsuite/gcc.c-torture/execute/20021120-1.c +++ b/gcc/testsuite/gcc.c-torture/execute/20021120-1.c @@ -1,3 +1,5 @@ +/* { dg-skip-if "memory tight" { ! size20plus } { "*" } { "-Os" } } */ + void abort (void); void exit (int); diff --git a/gcc/testsuite/gcc.dg/fixed-point/convert-float-4.c b/gcc/testsuite/gcc.dg/fixed-point/convert-float-4.c index c25a55c..a927534 100644 --- a/gcc/testsuite/gcc.dg/fixed-point/convert-float-4.c +++ b/gcc/testsuite/gcc.dg/fixed-point/convert-float-4.c @@ -1,5 +1,6 @@ /* { dg-do run } */ /* { dg-options "-std=gnu99 -O0" } */ +/* { dg-require-effective-target size20plus } */ /* C99 6.3 Conversions. diff --git a/gcc/testsuite/gcc.dg/torture/pr112282.c b/gcc/testsuite/gcc.dg/torture/pr112282.c index cfe364f..a016f6e 100644 --- a/gcc/testsuite/gcc.dg/torture/pr112282.c +++ b/gcc/testsuite/gcc.dg/torture/pr112282.c @@ -1,4 +1,5 @@ /* { dg-do run } */ +/* { dg-skip-if "memory tight" { ! size20plus } { "-O0" } } */ #if __SIZEOF_INT__ < 4 #define Xint __INT32_TYPE__ |