aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite
diff options
context:
space:
mode:
authorHans-Peter Nilsson <hp@axis.com>2005-11-02 03:02:00 +0000
committerHans-Peter Nilsson <hp@gcc.gnu.org>2005-11-02 03:02:00 +0000
commitced61f82af24dd2e5d4c8cdaf8b8329fe41e59d0 (patch)
tree436555945ed3e6b550d0919a794e305f1f0d3104 /gcc/testsuite
parent51b4e4093aa4006d2712eda5ac819809c073c85b (diff)
downloadgcc-ced61f82af24dd2e5d4c8cdaf8b8329fe41e59d0.zip
gcc-ced61f82af24dd2e5d4c8cdaf8b8329fe41e59d0.tar.gz
gcc-ced61f82af24dd2e5d4c8cdaf8b8329fe41e59d0.tar.bz2
re PR testsuite/18338 (mmix-knuth-mmixware testsuite failure: gcc.dg/bitfld-4.c and g++.dg/abi/bitfield4.C)
PR target/18338 * gcc.dg/bitfld-4.c, g++.dg/abi/bitfield4.C: Gate on pcc_bitfield_type_matters || default_packed. From-SVN: r106377
Diffstat (limited to 'gcc/testsuite')
-rw-r--r--gcc/testsuite/ChangeLog4
-rw-r--r--gcc/testsuite/g++.dg/abi/bitfield4.C2
-rw-r--r--gcc/testsuite/gcc.dg/bitfld-4.c2
3 files changed, 6 insertions, 2 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog
index 812c1cf..b58b792 100644
--- a/gcc/testsuite/ChangeLog
+++ b/gcc/testsuite/ChangeLog
@@ -1,5 +1,9 @@
2005-11-02 Hans-Peter Nilsson <hp@axis.com>
+ PR target/18338
+ * gcc.dg/bitfld-4.c, g++.dg/abi/bitfield4.C: Gate on
+ pcc_bitfield_type_matters || default_packed.
+
* lib/target-supports.exp
(check_effective_target_pcc_bitfield_type_matters): New proc.
* gcc.dg/bitfld-3.c: Gate on target pcc_bitfield_type_matters.
diff --git a/gcc/testsuite/g++.dg/abi/bitfield4.C b/gcc/testsuite/g++.dg/abi/bitfield4.C
index 1470993..5434dd9 100644
--- a/gcc/testsuite/g++.dg/abi/bitfield4.C
+++ b/gcc/testsuite/g++.dg/abi/bitfield4.C
@@ -1,4 +1,4 @@
-/* { dg-do run } */
+/* { dg-do run { target { pcc_bitfield_type_matters || default_packed } } } */
/* Check bitfields and non-bitfields are aligned & sized similarly.
diff --git a/gcc/testsuite/gcc.dg/bitfld-4.c b/gcc/testsuite/gcc.dg/bitfld-4.c
index 9df7f2f..e642bec 100644
--- a/gcc/testsuite/gcc.dg/bitfld-4.c
+++ b/gcc/testsuite/gcc.dg/bitfld-4.c
@@ -1,4 +1,4 @@
-/* { dg-do run } */
+/* { dg-do run { target { pcc_bitfield_type_matters || default_packed } } } */
/* { dg-options "" } */
/* Check bitfields and non-bitfields are aligned & sized similarly.