Commit 13f1e629 by Jakub Jelinek Committed by Jakub Jelinek

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

From-SVN: r170691
parent cc58ceee
2011-03-05 Jakub Jelinek <jakub@redhat.com> 2011-03-05 Jakub Jelinek <jakub@redhat.com>
* gcc.dg/torture/pr47968.c: Ignore warnings.
PR tree-optimization/47967 PR tree-optimization/47967
* gcc.c-torture/compile/pr47967.c: New test. * gcc.c-torture/compile/pr47967.c: New test.
......
/* { dg-do compile } */ /* { dg-do compile } */
/* { dg-options "-w -Wno-psabi" } */
typedef __attribute__ ((vector_size (16))) float float4; typedef __attribute__ ((vector_size (16))) float float4;
typedef __attribute__ ((vector_size (16))) double double2; typedef __attribute__ ((vector_size (16))) double double2;
...@@ -8,4 +9,3 @@ float foo (double2 d2) ...@@ -8,4 +9,3 @@ float foo (double2 d2)
float4 f4 = (float4) d2; float4 f4 = (float4) d2;
return *(float *) &f4; return *(float *) &f4;
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment