summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrenlin <renlin@138bc75d-0d04-0410-961f-82ee72b054a4>2015-01-15 10:15:50 +0000
committerrenlin <renlin@138bc75d-0d04-0410-961f-82ee72b054a4>2015-01-15 10:15:50 +0000
commitf43c2381578bc8dd7e463a064fccdc8b46c7901e (patch)
treebbdd2f4cc007cb8b5bae837f2956017054b3a1c1
parentec5ca250a07defbc6bca5f609fd8eb1a09e426ca (diff)
downloadgcc-f43c2381578bc8dd7e463a064fccdc8b46c7901e.tar.gz
Fix oversized bitfield warning.
testsuite/ 2015-01-15 Matthew Wahab <matthew.wahab@arm.com> * g++.dg/torture/20141013.C: Set -fno-short-enums. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@219637 138bc75d-0d04-0410-961f-82ee72b054a4
-rw-r--r--gcc/testsuite/ChangeLog4
-rw-r--r--gcc/testsuite/g++.dg/torture/20141013.C1
2 files changed, 5 insertions, 0 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog
index c2c10c275dd..ba1cd3101e4 100644
--- a/gcc/testsuite/ChangeLog
+++ b/gcc/testsuite/ChangeLog
@@ -1,3 +1,7 @@
+2015-01-15 Matthew Wahab <matthew.wahab@arm.com>
+
+ * g++.dg/torture/20141013.c: Set -fno-short-enums.
+
2015-01-15 Richard Biener <rguenther@suse.de>
PR middle-end/64365
diff --git a/gcc/testsuite/g++.dg/torture/20141013.C b/gcc/testsuite/g++.dg/torture/20141013.C
index 529ef0965e4..82aacd6317e 100644
--- a/gcc/testsuite/g++.dg/torture/20141013.C
+++ b/gcc/testsuite/g++.dg/torture/20141013.C
@@ -1,3 +1,4 @@
+/* { dg-options "-fno-short-enums" } */
enum
{
_sch_isdigit = 0x0004,