re PR tree-optimization/77450 (ICE: in verify_ssa, at tree-ssa.c:1016 on very simple...
authorRichard Biener <rguenther@suse.de>
Wed, 7 Sep 2016 08:22:01 +0000 (08:22 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Wed, 7 Sep 2016 08:22:01 +0000 (08:22 +0000)
2016-09-07  Richard Biener  <rguenther@suse.de>

PR c/77450
* c-c++-common/vector-subscript-8.c: Move ..
* gcc.dg/pr77450.c: ... here.

From-SVN: r240025

gcc/testsuite/ChangeLog
gcc/testsuite/c-c++-common/vector-subscript-8.c [deleted file]
gcc/testsuite/gcc.dg/pr77450.c [new file with mode: 0644]

index 66bf766bb339df7e85f25b65589a192b684666de..cfe3a081d372516d78b6548a15525f0fa2f1fe12 100644 (file)
@@ -1,3 +1,9 @@
+2016-09-07  Richard Biener  <rguenther@suse.de>
+
+       PR c/77450
+       * c-c++-common/vector-subscript-8.c: Move ..
+       * gcc.dg/pr77450.c: ... here.
+
 2016-09-06  Jerry DeLisle  <jvdelisle@gcc.gnu.org>
 
        PR libgfortran/77393
diff --git a/gcc/testsuite/c-c++-common/vector-subscript-8.c b/gcc/testsuite/c-c++-common/vector-subscript-8.c
deleted file mode 100644 (file)
index 8b0e0ff..0000000
+++ /dev/null
@@ -1,9 +0,0 @@
-/* { dg-do compile } */
-
-typedef int V __attribute__((vector_size(4)));
-
-void
-foo(void)
-{
-  (V){ 0 }[0] = 0;
-}
diff --git a/gcc/testsuite/gcc.dg/pr77450.c b/gcc/testsuite/gcc.dg/pr77450.c
new file mode 100644 (file)
index 0000000..7c19e86
--- /dev/null
@@ -0,0 +1,10 @@
+/* { dg-do compile } */
+/* { dg-options "-std=gnu90" } */
+
+typedef int V __attribute__((vector_size(4)));
+
+void
+foo(void)
+{
+  (V){ 0 }[0] = 0;
+}