From: Richard Biener Date: Wed, 7 Sep 2016 08:22:01 +0000 (+0000) Subject: re PR tree-optimization/77450 (ICE: in verify_ssa, at tree-ssa.c:1016 on very simple... X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=ca235a8500c9e6c5ad1983ef91bb92c6d40861a8;p=gcc.git re PR tree-optimization/77450 (ICE: in verify_ssa, at tree-ssa.c:1016 on very simple code with vectors) 2016-09-07 Richard Biener PR c/77450 * c-c++-common/vector-subscript-8.c: Move .. * gcc.dg/pr77450.c: ... here. From-SVN: r240025 --- diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 66bf766bb33..cfe3a081d37 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,9 @@ +2016-09-07 Richard Biener + + PR c/77450 + * c-c++-common/vector-subscript-8.c: Move .. + * gcc.dg/pr77450.c: ... here. + 2016-09-06 Jerry DeLisle 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 index 8b0e0ff8977..00000000000 --- a/gcc/testsuite/c-c++-common/vector-subscript-8.c +++ /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 index 00000000000..7c19e86ca02 --- /dev/null +++ b/gcc/testsuite/gcc.dg/pr77450.c @@ -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; +}