mirror of git://gcc.gnu.org/git/gcc.git
* gcc.dg/torture/pr47968.c: Ignore warnings.
From-SVN: r170691
This commit is contained in:
parent
cc58ceee5d
commit
13f1e629cd
|
@ -1,5 +1,7 @@
|
||||||
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.
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,5 @@
|
||||||
/* { 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)
|
||||||
float4 f4 = (float4) d2;
|
float4 f4 = (float4) d2;
|
||||||
return *(float *) &f4;
|
return *(float *) &f4;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue