Hi!

This testcase fails on i686-linux, because of:
gcc.dg/torture/pr47968.c:6:7: note: The ABI for passing parameters with 16-byte 
alignment has changed in GCC 4.6
gcc.dg/torture/pr47968.c:6:7: warning: SSE vector argument without SSE enabled 
changes the ABI [enabled by default]

This patch fixes it by disabling warnings.  Ok?

2011-03-04  Jakub Jelinek  <ja...@redhat.com>

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

--- gcc/testsuite/gcc.dg/torture/pr47968.c.jj   2011-03-04 19:39:16.092421074 
+0100
+++ gcc/testsuite/gcc.dg/torture/pr47968.c      2011-03-04 22:02:14.980388635 
+0100
@@ -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;
 }
-

        Jakub

Reply via email to