re PR middle-end/70307 (ICE: in gimplify_expr, at gimplify.c:10915 on valid code)

PR middle-end/70307
	* gcc.dg/torture/pr70307.c: Add -Wno-psabi to dg-options.  Prune
	rs6000 ABI warnings.

From-SVN: r234723
This commit is contained in:
Jakub Jelinek 2016-04-04 19:20:53 +02:00 committed by Jakub Jelinek
parent 123451d73f
commit f23f16d458
2 changed files with 11 additions and 0 deletions

View 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

View 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\]*" } */