This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] Fix gcc.dg/torture/pr47968.c testcase on i?86


On Sat, Mar 5, 2011 at 12:10 AM, Jakub Jelinek <jakub@redhat.com> wrote:
> 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?

We accept all -Wno- flags on all targets, right?  (why does -w not suffice?)

Ok.

Thanks,
Richard.

> 2011-03-04 ?Jakub Jelinek ?<jakub@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
>


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]