summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/bitfld-3.c
diff options
context:
space:
mode:
authorhp <hp@138bc75d-0d04-0410-961f-82ee72b054a4>2005-11-02 02:49:24 +0000
committerhp <hp@138bc75d-0d04-0410-961f-82ee72b054a4>2005-11-02 02:49:24 +0000
commit93cec6a90a54139231426aeb04a10f6d504c1ad2 (patch)
tree169b6d1d625faf6d958a1919b004b1afe2a9efd3 /gcc/testsuite/gcc.dg/bitfld-3.c
parent782f645b8187cf9036b541e2884160337eaf3158 (diff)
downloadgcc-93cec6a90a54139231426aeb04a10f6d504c1ad2.tar.gz
* 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@106375 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/testsuite/gcc.dg/bitfld-3.c')
-rw-r--r--gcc/testsuite/gcc.dg/bitfld-3.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/testsuite/gcc.dg/bitfld-3.c b/gcc/testsuite/gcc.dg/bitfld-3.c
index 3843acb6e39..5207bedb883 100644
--- a/gcc/testsuite/gcc.dg/bitfld-3.c
+++ b/gcc/testsuite/gcc.dg/bitfld-3.c
@@ -1,5 +1,5 @@
/* Test for bitfield alignment in structs and unions. */
-/* { dg-do run } */
+/* { dg-do run { target pcc_bitfield_type_matters } } */
/* { dg-options "-O2" } */
extern void abort (void);