* gcc.dg/torture/pr47968.c: Ignore warnings.

From-SVN: r170691
This commit is contained in:
Jakub Jelinek 2011-03-05 01:01:32 +01:00 committed by Jakub Jelinek
parent cc58ceee5d
commit 13f1e629cd
2 changed files with 3 additions and 1 deletions

View File

@ -1,5 +1,7 @@
2011-03-05 Jakub Jelinek <jakub@redhat.com>
* gcc.dg/torture/pr47968.c: Ignore warnings.
PR tree-optimization/47967
* gcc.c-torture/compile/pr47967.c: New test.

View File

@ -1,4 +1,5 @@
/* { dg-do compile } */
/* { dg-options "-w -Wno-psabi" } */
typedef __attribute__ ((vector_size (16))) float float4;
typedef __attribute__ ((vector_size (16))) double double2;
@ -8,4 +9,3 @@ float foo (double2 d2)
float4 f4 = (float4) d2;
return *(float *) &f4;
}