re PR middle-end/70307 (ICE: in gimplify_expr, at gimplify.c:10915 on valid code)
authorJakub Jelinek <jakub@redhat.com>
Mon, 4 Apr 2016 17:20:53 +0000 (19:20 +0200)
committerJakub Jelinek <jakub@gcc.gnu.org>
Mon, 4 Apr 2016 17:20:53 +0000 (19:20 +0200)
PR middle-end/70307
* gcc.dg/torture/pr70307.c: Add -Wno-psabi to dg-options.  Prune
rs6000 ABI warnings.

From-SVN: r234723

gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/torture/pr70307.c

index 168b769b859a02bc17cc98d9a15b590960c5ee9a..ba398c2070f89b496969e1ee753c043bf303db9e 100644 (file)
@@ -1,3 +1,9 @@
+2016-04-04  Jakub Jelinek  <jakub@redhat.com>
+
+       PR middle-end/70307
+       * gcc.dg/torture/pr70307.c: Add -Wno-psabi to dg-options.  Prune
+       rs6000 ABI warnings.
+
 2016-04-04  Jan Hubicka  <hubicka@ucw.cz>
 
        PR ipa/66223
index d47c4b6dc7d6801684969919b616277bf20185b8..0e0f1460b32deeea46781472353bb64855d5a806 100644 (file)
@@ -1,5 +1,6 @@
 /* PR c/70307 */
 /* { dg-do compile } */
+/* { dg-options "-Wno-psabi" } */
 
 typedef int v4si __attribute__ ((vector_size (16)));
 
@@ -60,3 +61,7 @@ fn8 (int i)
   struct S s = { .v = (v4si){(1, i++)} == (v4si){(0, 0)} };
   return s.v;
 }
+
+/* Ignore a warning that is irrelevant to the purpose of this test.  */
+/* { dg-prune-output "\[^\n\r\]*GCC vector passed by reference\[^\n\r\]*" } */
+/* { dg-prune-output "\[^\n\r\]*GCC vector returned by reference\[^\n\r\]*" } */