aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarek Polacek <polacek@redhat.com>2013-08-13 13:23:55 +0000
committerMarek Polacek <mpolacek@gcc.gnu.org>2013-08-13 13:23:55 +0000
commit022bd4c2d58644a64eb5b827bc92f4b09c95cd9d (patch)
tree6b1e654d51c1d6692f83b66e2adacd6f5bd82bb4
parent09ce36608d268b1a3124411a3ad2f701e5cf24ec (diff)
downloadgcc-022bd4c2d58644a64eb5b827bc92f4b09c95cd9d.zip
gcc-022bd4c2d58644a64eb5b827bc92f4b09c95cd9d.tar.gz
gcc-022bd4c2d58644a64eb5b827bc92f4b09c95cd9d.tar.bz2
* gcc.dg/pr57980.c: Use vector of two elements, not just one.
From-SVN: r201686
-rw-r--r--gcc/testsuite/ChangeLog4
-rw-r--r--gcc/testsuite/gcc.dg/pr57980.c4
2 files changed, 6 insertions, 2 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog
index bc45fdb..ae7973d 100644
--- a/gcc/testsuite/ChangeLog
+++ b/gcc/testsuite/ChangeLog
@@ -1,3 +1,7 @@
+2013-08-13 Marek Polacek <polacek@redhat.com>
+
+ * gcc.dg/pr57980.c: Use vector of two elements, not just one.
+
2013-08-13 David Malcolm <dmalcolm@redhat.com>
Example of converting global state to per-pass state.
diff --git a/gcc/testsuite/gcc.dg/pr57980.c b/gcc/testsuite/gcc.dg/pr57980.c
index 682f0f4..be83536 100644
--- a/gcc/testsuite/gcc.dg/pr57980.c
+++ b/gcc/testsuite/gcc.dg/pr57980.c
@@ -1,8 +1,8 @@
/* PR tree-optimization/57980 */
/* { dg-do compile } */
-/* { dg-options "-O -foptimize-sibling-calls" } */
+/* { dg-options "-O -foptimize-sibling-calls -w" } */
-typedef int V __attribute__ ((vector_size (sizeof (int))));
+typedef int V __attribute__ ((vector_size (2 * sizeof (int))));
extern V f (void);
V