diff mbox

[testsuite,i386] FMA3 testcases + typo fix in MD

Message ID CAFULd4ZFwfyBt6f17e92_sKrhsMRQ3G5QO_3z88yiOh+SY00Mg@mail.gmail.com
State New
Headers show

Commit Message

Uros Bizjak Oct. 15, 2011, 11:08 a.m. UTC
On Sat, Oct 15, 2011 at 10:32 AM, Uros Bizjak <ubizjak@gmail.com> wrote:

>>> --- /dev/null
>>> +++ b/gcc/testsuite/gcc.target/i386/fma_double_1.c
>>> @@ -0,0 +1,19 @@
>>> +/* { dg-do compile } */
>>> +/* { dg-prune-output ".*warning: 'sseregparm' attribute ignored.*" } */
>>
>> That prunes too much.  gcc-dg-prune brackets the regexp so that it only
>> matches within a single line, but your use of ".*" (which also matches
>> newlines) overrides that and will cause the *whole* output to be thrown
>> away, including any unrelated error messages.
>
> Perhaps e can add -Wno-attributes to dg-options and remove dg-prune-output.
>
> I will look at this possibility and create a patch.

It works.

2011-10-15  Uros Bizjak  <ubizjak@gmail.com>

	* gcc.target/i386/fma_float_?.c (dg-prune_output): Remove.
	(dg-options): Add -Wno-attributes.
	* gcc.target/i386/fma_double_?.c: Ditto.
	* gcc.target/i386/fma_run_float_?.c: Ditto.
	* gcc.target/i386/fma_run_double_?.c: Ditto.
	* gcc.target/i386/l_fma_float_?.c: Dtto.
	* gcc.target/i386/l_fma_double_?.c: Ditto.
	* gcc.target/i386/l_fma_run_float_?.c: Ditto.
	* gcc.target/i386/l_fma_run_double_?.c: Ditto.

Attached patch was tested on x86_64-pc-linux-gnu {,-m32} and committed to SVN.

Uros.

Comments

Kirill Yukhin Oct. 17, 2011, 12:41 p.m. UTC | #1
Thanks!

K

On Sat, Oct 15, 2011 at 3:08 PM, Uros Bizjak <ubizjak@gmail.com> wrote:
> On Sat, Oct 15, 2011 at 10:32 AM, Uros Bizjak <ubizjak@gmail.com> wrote:
>
>>>> --- /dev/null
>>>> +++ b/gcc/testsuite/gcc.target/i386/fma_double_1.c
>>>> @@ -0,0 +1,19 @@
>>>> +/* { dg-do compile } */
>>>> +/* { dg-prune-output ".*warning: 'sseregparm' attribute ignored.*" } */
>>>
>>> That prunes too much.  gcc-dg-prune brackets the regexp so that it only
>>> matches within a single line, but your use of ".*" (which also matches
>>> newlines) overrides that and will cause the *whole* output to be thrown
>>> away, including any unrelated error messages.
>>
>> Perhaps e can add -Wno-attributes to dg-options and remove dg-prune-output.
>>
>> I will look at this possibility and create a patch.
>
> It works.
>
> 2011-10-15  Uros Bizjak  <ubizjak@gmail.com>
>
>        * gcc.target/i386/fma_float_?.c (dg-prune_output): Remove.
>        (dg-options): Add -Wno-attributes.
>        * gcc.target/i386/fma_double_?.c: Ditto.
>        * gcc.target/i386/fma_run_float_?.c: Ditto.
>        * gcc.target/i386/fma_run_double_?.c: Ditto.
>        * gcc.target/i386/l_fma_float_?.c: Dtto.
>        * gcc.target/i386/l_fma_double_?.c: Ditto.
>        * gcc.target/i386/l_fma_run_float_?.c: Ditto.
>        * gcc.target/i386/l_fma_run_double_?.c: Ditto.
>
> Attached patch was tested on x86_64-pc-linux-gnu {,-m32} and committed to SVN.
>
> Uros.
>
diff mbox

Patch

Index: gcc.target/i386/fma_run_double_3.c
===================================================================
--- gcc.target/i386/fma_run_double_3.c	(revision 180023)
+++ gcc.target/i386/fma_run_double_3.c	(working copy)
@@ -1,7 +1,6 @@ 
 /* { dg-do run } */
-/* { dg-prune-output ".*warning: 'sseregparm' attribute ignored.*" } */
 /* { dg-require-effective-target fma } */
-/* { dg-options "-O3 -mfpmath=sse -mfma" } */
+/* { dg-options "-O3 -Wno-attributes -mfpmath=sse -mfma" } */
 
 /* Test that the compiler properly optimizes floating point multiply
    and add instructions into FMA3 instructions.  */
Index: gcc.target/i386/fma_float_5.c
===================================================================
--- gcc.target/i386/fma_float_5.c	(revision 180023)
+++ gcc.target/i386/fma_float_5.c	(working copy)
@@ -1,6 +1,5 @@ 
 /* { dg-do compile } */
-/* { dg-prune-output ".*warning: 'sseregparm' attribute ignored.*" } */
-/* { dg-options "-O2 -mfpmath=sse -mfma" } */
+/* { dg-options "-O2 -Wno-attributes -mfpmath=sse -mfma" } */
 
 /* Test that the compiler properly optimizes floating point multiply
    and add instructions into FMA3 instructions.  */
Index: gcc.target/i386/l_fma_float_5.c
===================================================================
--- gcc.target/i386/l_fma_float_5.c	(revision 180023)
+++ gcc.target/i386/l_fma_float_5.c	(working copy)
@@ -1,6 +1,5 @@ 
 /* { dg-do compile } */
-/* { dg-prune-output ".*warning: 'sseregparm' attribute ignored.*" } */
-/* { dg-options "-O3 -mfpmath=sse -mfma -mtune=generic" } */
+/* { dg-options "-O3 -Wno-attributes -mfpmath=sse -mfma -mtune=generic" } */
 
 /* Test that the compiler properly optimizes floating point multiply
    and add instructions into FMA3 instructions.  */
Index: gcc.target/i386/fma_double_1.c
===================================================================
--- gcc.target/i386/fma_double_1.c	(revision 180023)
+++ gcc.target/i386/fma_double_1.c	(working copy)
@@ -1,6 +1,5 @@ 
 /* { dg-do compile } */
-/* { dg-prune-output ".*warning: 'sseregparm' attribute ignored.*" } */
-/* { dg-options "-O2 -mfpmath=sse -mfma" } */
+/* { dg-options "-O2 -Wno-attributes -mfpmath=sse -mfma" } */
 
 /* Test that the compiler properly optimizes floating point multiply
    and add instructions into FMA3 instructions.  */
Index: gcc.target/i386/l_fma_run_float_4.c
===================================================================
--- gcc.target/i386/l_fma_run_float_4.c	(revision 180023)
+++ gcc.target/i386/l_fma_run_float_4.c	(working copy)
@@ -1,7 +1,6 @@ 
 /* { dg-do run } */
-/* { dg-prune-output ".*warning: 'sseregparm' attribute ignored.*" } */
 /* { dg-require-effective-target fma } */
-/* { dg-options "-O3 -mfpmath=sse -mfma" } */
+/* { dg-options "-O3 -Wno-attributes -mfpmath=sse -mfma" } */
 
 /* Test that the compiler properly optimizes floating point multiply
    and add instructions into FMA3 instructions.  */
Index: gcc.target/i386/fma_double_5.c
===================================================================
--- gcc.target/i386/fma_double_5.c	(revision 180023)
+++ gcc.target/i386/fma_double_5.c	(working copy)
@@ -1,6 +1,5 @@ 
 /* { dg-do compile } */
-/* { dg-prune-output ".*warning: 'sseregparm' attribute ignored.*" } */
-/* { dg-options "-O2 -mfpmath=sse -mfma" } */
+/* { dg-options "-O2 -Wno-attributes -mfpmath=sse -mfma" } */
 
 /* Test that the compiler properly optimizes floating point multiply
    and add instructions into FMA3 instructions.  */
Index: gcc.target/i386/l_fma_run_double_3.c
===================================================================
--- gcc.target/i386/l_fma_run_double_3.c	(revision 180023)
+++ gcc.target/i386/l_fma_run_double_3.c	(working copy)
@@ -1,7 +1,6 @@ 
 /* { dg-do run } */
-/* { dg-prune-output ".*warning: 'sseregparm' attribute ignored.*" } */
 /* { dg-require-effective-target fma } */
-/* { dg-options "-O3 -mfpmath=sse -mfma" } */
+/* { dg-options "-O3 -Wno-attributes -mfpmath=sse -mfma" } */
 
 /* Test that the compiler properly optimizes floating point multiply
    and add instructions into FMA3 instructions.  */
Index: gcc.target/i386/l_fma_double_4.c
===================================================================
--- gcc.target/i386/l_fma_double_4.c	(revision 180023)
+++ gcc.target/i386/l_fma_double_4.c	(working copy)
@@ -1,6 +1,5 @@ 
 /* { dg-do compile } */
-/* { dg-prune-output ".*warning: 'sseregparm' attribute ignored.*" } */
-/* { dg-options "-O3 -mfpmath=sse -mfma -mtune=generic" } */
+/* { dg-options "-O3 -Wno-attributes -mfpmath=sse -mfma -mtune=generic" } */
 
 /* Test that the compiler properly optimizes floating point multiply
    and add instructions into FMA3 instructions.  */
Index: gcc.target/i386/fma_run_float_4.c
===================================================================
--- gcc.target/i386/fma_run_float_4.c	(revision 180023)
+++ gcc.target/i386/fma_run_float_4.c	(working copy)
@@ -1,7 +1,6 @@ 
 /* { dg-do run } */
-/* { dg-prune-output ".*warning: 'sseregparm' attribute ignored.*" } */
 /* { dg-require-effective-target fma } */
-/* { dg-options "-O3 -mfpmath=sse -mfma" } */
+/* { dg-options "-O3 -Wno-attributes -mfpmath=sse -mfma" } */
 
 /* Test that the compiler properly optimizes floating point multiply
    and add instructions into FMA3 instructions.  */
Index: gcc.target/i386/fma_float_2.c
===================================================================
--- gcc.target/i386/fma_float_2.c	(revision 180023)
+++ gcc.target/i386/fma_float_2.c	(working copy)
@@ -1,6 +1,5 @@ 
 /* { dg-do compile } */
-/* { dg-prune-output ".*warning: 'sseregparm' attribute ignored.*" } */
-/* { dg-options "-O2 -mfpmath=sse -mfma" } */
+/* { dg-options "-O2 -Wno-attributes -mfpmath=sse -mfma" } */
 
 /* Test that the compiler properly optimizes floating point multiply
    and add instructions into FMA3 instructions.  */
Index: gcc.target/i386/l_fma_float_2.c
===================================================================
--- gcc.target/i386/l_fma_float_2.c	(revision 180023)
+++ gcc.target/i386/l_fma_float_2.c	(working copy)
@@ -1,6 +1,5 @@ 
 /* { dg-do compile } */
-/* { dg-prune-output ".*warning: 'sseregparm' attribute ignored.*" } */
-/* { dg-options "-O3 -mfpmath=sse -mfma -mtune=generic" } */
+/* { dg-options "-O3 -Wno-attributes -mfpmath=sse -mfma -mtune=generic" } */
 
 /* Test that the compiler properly optimizes floating point multiply
    and add instructions into FMA3 instructions.  */
Index: gcc.target/i386/fma_run_double_4.c
===================================================================
--- gcc.target/i386/fma_run_double_4.c	(revision 180023)
+++ gcc.target/i386/fma_run_double_4.c	(working copy)
@@ -1,7 +1,6 @@ 
 /* { dg-do run } */
-/* { dg-prune-output ".*warning: 'sseregparm' attribute ignored.*" } */
 /* { dg-require-effective-target fma } */
-/* { dg-options "-O3 -mfpmath=sse -mfma" } */
+/* { dg-options "-O3 -Wno-attributes -mfpmath=sse -mfma" } */
 
 /* Test that the compiler properly optimizes floating point multiply
    and add instructions into FMA3 instructions.  */
Index: gcc.target/i386/l_fma_run_float_1.c
===================================================================
--- gcc.target/i386/l_fma_run_float_1.c	(revision 180023)
+++ gcc.target/i386/l_fma_run_float_1.c	(working copy)
@@ -1,7 +1,6 @@ 
 /* { dg-do run } */
-/* { dg-prune-output ".*warning: 'sseregparm' attribute ignored.*" } */
 /* { dg-require-effective-target fma } */
-/* { dg-options "-O3 -mfpmath=sse -mfma" } */
+/* { dg-options "-O3 -Wno-attributes -mfpmath=sse -mfma" } */
 
 /* Test that the compiler properly optimizes floating point multiply
    and add instructions into FMA3 instructions.  */
Index: gcc.target/i386/fma_float_6.c
===================================================================
--- gcc.target/i386/fma_float_6.c	(revision 180023)
+++ gcc.target/i386/fma_float_6.c	(working copy)
@@ -1,6 +1,5 @@ 
 /* { dg-do compile } */
-/* { dg-prune-output ".*warning: 'sseregparm' attribute ignored.*" } */
-/* { dg-options "-O2 -mfpmath=sse -mfma" } */
+/* { dg-options "-O2 -Wno-attributes -mfpmath=sse -mfma" } */
 
 /* Test that the compiler properly optimizes floating point multiply
    and add instructions into FMA3 instructions.  */
Index: gcc.target/i386/l_fma_float_6.c
===================================================================
--- gcc.target/i386/l_fma_float_6.c	(revision 180023)
+++ gcc.target/i386/l_fma_float_6.c	(working copy)
@@ -1,6 +1,5 @@ 
 /* { dg-do compile } */
-/* { dg-prune-output ".*warning: 'sseregparm' attribute ignored.*" } */
-/* { dg-options "-O3 -mfpmath=sse -mfma -mtune=generic" } */
+/* { dg-options "-O3 -Wno-attributes -mfpmath=sse -mfma -mtune=generic" } */
 
 /* Test that the compiler properly optimizes floating point multiply
    and add instructions into FMA3 instructions.  */
Index: gcc.target/i386/fma_double_2.c
===================================================================
--- gcc.target/i386/fma_double_2.c	(revision 180023)
+++ gcc.target/i386/fma_double_2.c	(working copy)
@@ -1,6 +1,5 @@ 
 /* { dg-do compile } */
-/* { dg-prune-output ".*warning: 'sseregparm' attribute ignored.*" } */
-/* { dg-options "-O2 -mfpmath=sse -mfma" } */
+/* { dg-options "-O2 -Wno-attributes -mfpmath=sse -mfma" } */
 
 /* Test that the compiler properly optimizes floating point multiply
    and add instructions into FMA3 instructions.  */
Index: gcc.target/i386/l_fma_run_float_5.c
===================================================================
--- gcc.target/i386/l_fma_run_float_5.c	(revision 180023)
+++ gcc.target/i386/l_fma_run_float_5.c	(working copy)
@@ -1,7 +1,6 @@ 
 /* { dg-do run } */
-/* { dg-prune-output ".*warning: 'sseregparm' attribute ignored.*" } */
 /* { dg-require-effective-target fma } */
-/* { dg-options "-O3 -mfpmath=sse -mfma" } */
+/* { dg-options "-O3 -Wno-attributes -mfpmath=sse -mfma" } */
 
 /* Test that the compiler properly optimizes floating point multiply
    and add instructions into FMA3 instructions.  */
Index: gcc.target/i386/fma_double_6.c
===================================================================
--- gcc.target/i386/fma_double_6.c	(revision 180023)
+++ gcc.target/i386/fma_double_6.c	(working copy)
@@ -1,6 +1,5 @@ 
 /* { dg-do compile } */
-/* { dg-prune-output ".*warning: 'sseregparm' attribute ignored.*" } */
-/* { dg-options "-O2 -mfpmath=sse -mfma" } */
+/* { dg-options "-O2 -Wno-attributes -mfpmath=sse -mfma" } */
 
 /* Test that the compiler properly optimizes floating point multiply
    and add instructions into FMA3 instructions.  */
Index: gcc.target/i386/l_fma_double_1.c
===================================================================
--- gcc.target/i386/l_fma_double_1.c	(revision 180023)
+++ gcc.target/i386/l_fma_double_1.c	(working copy)
@@ -1,6 +1,5 @@ 
 /* { dg-do compile } */
-/* { dg-prune-output ".*warning: 'sseregparm' attribute ignored.*" } */
-/* { dg-options "-O3 -mfpmath=sse -mfma -mtune=generic" } */
+/* { dg-options "-O3 -Wno-attributes -mfpmath=sse -mfma -mtune=generic" } */
 
 /* Test that the compiler properly optimizes floating point multiply
    and add instructions into FMA3 instructions.  */
Index: gcc.target/i386/fma_run_float_1.c
===================================================================
--- gcc.target/i386/fma_run_float_1.c	(revision 180023)
+++ gcc.target/i386/fma_run_float_1.c	(working copy)
@@ -1,7 +1,6 @@ 
 /* { dg-do run } */
-/* { dg-prune-output ".*warning: 'sseregparm' attribute ignored.*" } */
 /* { dg-require-effective-target fma } */
-/* { dg-options "-O3 -mfpmath=sse -mfma" } */
+/* { dg-options "-O3 -Wno-attributes -mfpmath=sse -mfma" } */
 
 /* Test that the compiler properly optimizes floating point multiply
    and add instructions into FMA3 instructions.  */
Index: gcc.target/i386/l_fma_run_double_4.c
===================================================================
--- gcc.target/i386/l_fma_run_double_4.c	(revision 180023)
+++ gcc.target/i386/l_fma_run_double_4.c	(working copy)
@@ -1,7 +1,6 @@ 
 /* { dg-do run } */
-/* { dg-prune-output ".*warning: 'sseregparm' attribute ignored.*" } */
 /* { dg-require-effective-target fma } */
-/* { dg-options "-O3 -mfpmath=sse -mfma" } */
+/* { dg-options "-O3 -Wno-attributes -mfpmath=sse -mfma" } */
 
 /* Test that the compiler properly optimizes floating point multiply
    and add instructions into FMA3 instructions.  */
Index: gcc.target/i386/fma_run_double_1.c
===================================================================
--- gcc.target/i386/fma_run_double_1.c	(revision 180023)
+++ gcc.target/i386/fma_run_double_1.c	(working copy)
@@ -1,7 +1,6 @@ 
 /* { dg-do run } */
-/* { dg-prune-output ".*warning: 'sseregparm' attribute ignored.*" } */
 /* { dg-require-effective-target fma } */
-/* { dg-options "-O3 -mfpmath=sse -mfma" } */
+/* { dg-options "-O3 -Wno-attributes -mfpmath=sse -mfma" } */
 
 /* Test that the compiler properly optimizes floating point multiply
    and add instructions into FMA3 instructions.  */
Index: gcc.target/i386/l_fma_double_5.c
===================================================================
--- gcc.target/i386/l_fma_double_5.c	(revision 180023)
+++ gcc.target/i386/l_fma_double_5.c	(working copy)
@@ -1,6 +1,5 @@ 
 /* { dg-do compile } */
-/* { dg-prune-output ".*warning: 'sseregparm' attribute ignored.*" } */
-/* { dg-options "-O3 -mfpmath=sse -mfma -mtune=generic" } */
+/* { dg-options "-O3 -Wno-attributes -mfpmath=sse -mfma -mtune=generic" } */
 
 /* Test that the compiler properly optimizes floating point multiply
    and add instructions into FMA3 instructions.  */
Index: gcc.target/i386/fma_run_float_5.c
===================================================================
--- gcc.target/i386/fma_run_float_5.c	(revision 180023)
+++ gcc.target/i386/fma_run_float_5.c	(working copy)
@@ -1,7 +1,6 @@ 
 /* { dg-do run } */
-/* { dg-prune-output ".*warning: 'sseregparm' attribute ignored.*" } */
 /* { dg-require-effective-target fma } */
-/* { dg-options "-O3 -mfpmath=sse -mfma" } */
+/* { dg-options "-O3 -Wno-attributes -mfpmath=sse -mfma" } */
 
 /* Test that the compiler properly optimizes floating point multiply
    and add instructions into FMA3 instructions.  */
Index: gcc.target/i386/fma_float_3.c
===================================================================
--- gcc.target/i386/fma_float_3.c	(revision 180023)
+++ gcc.target/i386/fma_float_3.c	(working copy)
@@ -1,6 +1,5 @@ 
 /* { dg-do compile } */
-/* { dg-prune-output ".*warning: 'sseregparm' attribute ignored.*" } */
-/* { dg-options "-O2 -mfpmath=sse -mfma" } */
+/* { dg-options "-O2 -Wno-attributes -mfpmath=sse -mfma" } */
 
 /* Test that the compiler properly optimizes floating point multiply
    and add instructions into FMA3 instructions.  */
Index: gcc.target/i386/l_fma_float_3.c
===================================================================
--- gcc.target/i386/l_fma_float_3.c	(revision 180023)
+++ gcc.target/i386/l_fma_float_3.c	(working copy)
@@ -1,6 +1,5 @@ 
 /* { dg-do compile } */
-/* { dg-prune-output ".*warning: 'sseregparm' attribute ignored.*" } */
-/* { dg-options "-O3 -mfpmath=sse -mfma -mtune=generic" } */
+/* { dg-options "-O3 -Wno-attributes -mfpmath=sse -mfma -mtune=generic" } */
 
 /* Test that the compiler properly optimizes floating point multiply
    and add instructions into FMA3 instructions.  */
Index: gcc.target/i386/fma_run_double_5.c
===================================================================
--- gcc.target/i386/fma_run_double_5.c	(revision 180023)
+++ gcc.target/i386/fma_run_double_5.c	(working copy)
@@ -1,7 +1,6 @@ 
 /* { dg-do run } */
-/* { dg-prune-output ".*warning: 'sseregparm' attribute ignored.*" } */
 /* { dg-require-effective-target fma } */
-/* { dg-options "-O3 -mfpmath=sse -mfma" } */
+/* { dg-options "-O3 -Wno-attributes -mfpmath=sse -mfma" } */
 
 /* Test that the compiler properly optimizes floating point multiply
    and add instructions into FMA3 instructions.  */
Index: gcc.target/i386/l_fma_run_float_2.c
===================================================================
--- gcc.target/i386/l_fma_run_float_2.c	(revision 180023)
+++ gcc.target/i386/l_fma_run_float_2.c	(working copy)
@@ -1,7 +1,6 @@ 
 /* { dg-do run } */
-/* { dg-prune-output ".*warning: 'sseregparm' attribute ignored.*" } */
 /* { dg-require-effective-target fma } */
-/* { dg-options "-O3 -mfpmath=sse -mfma" } */
+/* { dg-options "-O3 -Wno-attributes -mfpmath=sse -mfma" } */
 
 /* Test that the compiler properly optimizes floating point multiply
    and add instructions into FMA3 instructions.  */
Index: gcc.target/i386/fma_double_3.c
===================================================================
--- gcc.target/i386/fma_double_3.c	(revision 180023)
+++ gcc.target/i386/fma_double_3.c	(working copy)
@@ -1,6 +1,5 @@ 
 /* { dg-do compile } */
-/* { dg-prune-output ".*warning: 'sseregparm' attribute ignored.*" } */
-/* { dg-options "-O2 -mfpmath=sse -mfma" } */
+/* { dg-options "-O2 -Wno-attributes -mfpmath=sse -mfma" } */
 
 /* Test that the compiler properly optimizes floating point multiply
    and add instructions into FMA3 instructions.  */
Index: gcc.target/i386/l_fma_run_float_6.c
===================================================================
--- gcc.target/i386/l_fma_run_float_6.c	(revision 180023)
+++ gcc.target/i386/l_fma_run_float_6.c	(working copy)
@@ -1,7 +1,6 @@ 
 /* { dg-do run } */
-/* { dg-prune-output ".*warning: 'sseregparm' attribute ignored.*" } */
 /* { dg-require-effective-target fma } */
-/* { dg-options "-O3 -mfpmath=sse -mfma" } */
+/* { dg-options "-O3 -Wno-attributes -mfpmath=sse -mfma" } */
 
 /* Test that the compiler properly optimizes floating point multiply
    and add instructions into FMA3 instructions.  */
Index: gcc.target/i386/l_fma_run_double_1.c
===================================================================
--- gcc.target/i386/l_fma_run_double_1.c	(revision 180023)
+++ gcc.target/i386/l_fma_run_double_1.c	(working copy)
@@ -1,7 +1,6 @@ 
 /* { dg-do run } */
-/* { dg-prune-output ".*warning: 'sseregparm' attribute ignored.*" } */
 /* { dg-require-effective-target fma } */
-/* { dg-options "-O3 -mfpmath=sse -mfma" } */
+/* { dg-options "-O3 -Wno-attributes -mfpmath=sse -mfma" } */
 
 /* Test that the compiler properly optimizes floating point multiply
    and add instructions into FMA3 instructions.  */
Index: gcc.target/i386/l_fma_double_2.c
===================================================================
--- gcc.target/i386/l_fma_double_2.c	(revision 180023)
+++ gcc.target/i386/l_fma_double_2.c	(working copy)
@@ -1,6 +1,5 @@ 
 /* { dg-do compile } */
-/* { dg-prune-output ".*warning: 'sseregparm' attribute ignored.*" } */
-/* { dg-options "-O3 -mfpmath=sse -mfma -mtune=generic" } */
+/* { dg-options "-O3 -Wno-attributes -mfpmath=sse -mfma -mtune=generic" } */
 
 /* Test that the compiler properly optimizes floating point multiply
    and add instructions into FMA3 instructions.  */
Index: gcc.target/i386/fma_run_float_2.c
===================================================================
--- gcc.target/i386/fma_run_float_2.c	(revision 180023)
+++ gcc.target/i386/fma_run_float_2.c	(working copy)
@@ -1,7 +1,6 @@ 
 /* { dg-do run } */
-/* { dg-prune-output ".*warning: 'sseregparm' attribute ignored.*" } */
 /* { dg-require-effective-target fma } */
-/* { dg-options "-O3 -mfpmath=sse -mfma" } */
+/* { dg-options "-O3 -Wno-attributes -mfpmath=sse -mfma" } */
 
 /* Test that the compiler properly optimizes floating point multiply
    and add instructions into FMA3 instructions.  */
Index: gcc.target/i386/l_fma_run_double_5.c
===================================================================
--- gcc.target/i386/l_fma_run_double_5.c	(revision 180023)
+++ gcc.target/i386/l_fma_run_double_5.c	(working copy)
@@ -1,7 +1,6 @@ 
 /* { dg-do run } */
-/* { dg-prune-output ".*warning: 'sseregparm' attribute ignored.*" } */
 /* { dg-require-effective-target fma } */
-/* { dg-options "-O3 -mfpmath=sse -mfma" } */
+/* { dg-options "-O3 -Wno-attributes -mfpmath=sse -mfma" } */
 
 /* Test that the compiler properly optimizes floating point multiply
    and add instructions into FMA3 instructions.  */
Index: gcc.target/i386/fma_run_double_2.c
===================================================================
--- gcc.target/i386/fma_run_double_2.c	(revision 180023)
+++ gcc.target/i386/fma_run_double_2.c	(working copy)
@@ -1,7 +1,6 @@ 
 /* { dg-do run } */
-/* { dg-prune-output ".*warning: 'sseregparm' attribute ignored.*" } */
 /* { dg-require-effective-target fma } */
-/* { dg-options "-O3 -mfpmath=sse -mfma" } */
+/* { dg-options "-O3 -Wno-attributes -mfpmath=sse -mfma" } */
 
 /* Test that the compiler properly optimizes floating point multiply
    and add instructions into FMA3 instructions.  */
Index: gcc.target/i386/l_fma_double_6.c
===================================================================
--- gcc.target/i386/l_fma_double_6.c	(revision 180023)
+++ gcc.target/i386/l_fma_double_6.c	(working copy)
@@ -1,6 +1,5 @@ 
 /* { dg-do compile } */
-/* { dg-prune-output ".*warning: 'sseregparm' attribute ignored.*" } */
-/* { dg-options "-O3 -mfpmath=sse -mfma -mtune=generic" } */
+/* { dg-options "-O3 -Wno-attributes -mfpmath=sse -mfma -mtune=generic" } */
 
 /* Test that the compiler properly optimizes floating point multiply
    and add instructions into FMA3 instructions.  */
Index: gcc.target/i386/fma_run_float_6.c
===================================================================
--- gcc.target/i386/fma_run_float_6.c	(revision 180023)
+++ gcc.target/i386/fma_run_float_6.c	(working copy)
@@ -1,7 +1,6 @@ 
 /* { dg-do run } */
-/* { dg-prune-output ".*warning: 'sseregparm' attribute ignored.*" } */
 /* { dg-require-effective-target fma } */
-/* { dg-options "-O3 -mfpmath=sse -mfma" } */
+/* { dg-options "-O3 -Wno-attributes -mfpmath=sse -mfma" } */
 
 /* Test that the compiler properly optimizes floating point multiply
    and add instructions into FMA3 instructions.  */
Index: gcc.target/i386/fma_float_4.c
===================================================================
--- gcc.target/i386/fma_float_4.c	(revision 180023)
+++ gcc.target/i386/fma_float_4.c	(working copy)
@@ -1,6 +1,5 @@ 
 /* { dg-do compile } */
-/* { dg-prune-output ".*warning: 'sseregparm' attribute ignored.*" } */
-/* { dg-options "-O2 -mfpmath=sse -mfma" } */
+/* { dg-options "-O2 -Wno-attributes -mfpmath=sse -mfma" } */
 
 /* Test that the compiler properly optimizes floating point multiply
    and add instructions into FMA3 instructions.  */
Index: gcc.target/i386/l_fma_float_4.c
===================================================================
--- gcc.target/i386/l_fma_float_4.c	(revision 180023)
+++ gcc.target/i386/l_fma_float_4.c	(working copy)
@@ -1,6 +1,5 @@ 
 /* { dg-do compile } */
-/* { dg-prune-output ".*warning: 'sseregparm' attribute ignored.*" } */
-/* { dg-options "-O3 -mfpmath=sse -mfma -mtune=generic" } */
+/* { dg-options "-O3 -Wno-attributes -mfpmath=sse -mfma -mtune=generic" } */
 
 /* Test that the compiler properly optimizes floating point multiply
    and add instructions into FMA3 instructions.  */
Index: gcc.target/i386/fma_run_double_6.c
===================================================================
--- gcc.target/i386/fma_run_double_6.c	(revision 180023)
+++ gcc.target/i386/fma_run_double_6.c	(working copy)
@@ -1,7 +1,6 @@ 
 /* { dg-do run } */
-/* { dg-prune-output ".*warning: 'sseregparm' attribute ignored.*" } */
 /* { dg-require-effective-target fma } */
-/* { dg-options "-O3 -mfpmath=sse -mfma" } */
+/* { dg-options "-O3 -Wno-attributes -mfpmath=sse -mfma" } */
 
 /* Test that the compiler properly optimizes floating point multiply
    and add instructions into FMA3 instructions.  */
Index: gcc.target/i386/l_fma_run_float_3.c
===================================================================
--- gcc.target/i386/l_fma_run_float_3.c	(revision 180023)
+++ gcc.target/i386/l_fma_run_float_3.c	(working copy)
@@ -1,7 +1,6 @@ 
 /* { dg-do run } */
-/* { dg-prune-output ".*warning: 'sseregparm' attribute ignored.*" } */
 /* { dg-require-effective-target fma } */
-/* { dg-options "-O3 -mfpmath=sse -mfma" } */
+/* { dg-options "-O3 -Wno-attributes -mfpmath=sse -mfma" } */
 
 /* Test that the compiler properly optimizes floating point multiply
    and add instructions into FMA3 instructions.  */
Index: gcc.target/i386/fma_double_4.c
===================================================================
--- gcc.target/i386/fma_double_4.c	(revision 180023)
+++ gcc.target/i386/fma_double_4.c	(working copy)
@@ -1,6 +1,5 @@ 
 /* { dg-do compile } */
-/* { dg-prune-output ".*warning: 'sseregparm' attribute ignored.*" } */
-/* { dg-options "-O2 -mfpmath=sse -mfma" } */
+/* { dg-options "-O2 -Wno-attributes -mfpmath=sse -mfma" } */
 
 /* Test that the compiler properly optimizes floating point multiply
    and add instructions into FMA3 instructions.  */
Index: gcc.target/i386/l_fma_run_double_2.c
===================================================================
--- gcc.target/i386/l_fma_run_double_2.c	(revision 180023)
+++ gcc.target/i386/l_fma_run_double_2.c	(working copy)
@@ -1,7 +1,6 @@ 
 /* { dg-do run } */
-/* { dg-prune-output ".*warning: 'sseregparm' attribute ignored.*" } */
 /* { dg-require-effective-target fma } */
-/* { dg-options "-O3 -mfpmath=sse -mfma" } */
+/* { dg-options "-O3 -Wno-attributes -mfpmath=sse -mfma" } */
 
 /* Test that the compiler properly optimizes floating point multiply
    and add instructions into FMA3 instructions.  */
Index: gcc.target/i386/l_fma_double_3.c
===================================================================
--- gcc.target/i386/l_fma_double_3.c	(revision 180023)
+++ gcc.target/i386/l_fma_double_3.c	(working copy)
@@ -1,6 +1,5 @@ 
 /* { dg-do compile } */
-/* { dg-prune-output ".*warning: 'sseregparm' attribute ignored.*" } */
-/* { dg-options "-O3 -mfpmath=sse -mfma -mtune=generic" } */
+/* { dg-options "-O3 -Wno-attributes -mfpmath=sse -mfma -mtune=generic" } */
 
 /* Test that the compiler properly optimizes floating point multiply
    and add instructions into FMA3 instructions.  */
Index: gcc.target/i386/fma_run_float_3.c
===================================================================
--- gcc.target/i386/fma_run_float_3.c	(revision 180023)
+++ gcc.target/i386/fma_run_float_3.c	(working copy)
@@ -1,7 +1,6 @@ 
 /* { dg-do run } */
-/* { dg-prune-output ".*warning: 'sseregparm' attribute ignored.*" } */
 /* { dg-require-effective-target fma } */
-/* { dg-options "-O3 -mfpmath=sse -mfma" } */
+/* { dg-options "-O3 -Wno-attributes -mfpmath=sse -mfma" } */
 
 /* Test that the compiler properly optimizes floating point multiply
    and add instructions into FMA3 instructions.  */
Index: gcc.target/i386/fma_float_1.c
===================================================================
--- gcc.target/i386/fma_float_1.c	(revision 180023)
+++ gcc.target/i386/fma_float_1.c	(working copy)
@@ -1,6 +1,5 @@ 
 /* { dg-do compile } */
-/* { dg-prune-output ".*warning: 'sseregparm' attribute ignored.*" } */
-/* { dg-options "-O2 -mfpmath=sse -mfma" } */
+/* { dg-options "-O2 -Wno-attributes -mfpmath=sse -mfma" } */
 
 /* Test that the compiler properly optimizes floating point multiply
    and add instructions into FMA3 instructions.  */
Index: gcc.target/i386/l_fma_run_double_6.c
===================================================================
--- gcc.target/i386/l_fma_run_double_6.c	(revision 180023)
+++ gcc.target/i386/l_fma_run_double_6.c	(working copy)
@@ -1,7 +1,6 @@ 
 /* { dg-do run } */
-/* { dg-prune-output ".*warning: 'sseregparm' attribute ignored.*" } */
 /* { dg-require-effective-target fma } */
-/* { dg-options "-O3 -mfpmath=sse -mfma" } */
+/* { dg-options "-O3 -Wno-attributes -mfpmath=sse -mfma" } */
 
 /* Test that the compiler properly optimizes floating point multiply
    and add instructions into FMA3 instructions.  */
Index: gcc.target/i386/l_fma_float_1.c
===================================================================
--- gcc.target/i386/l_fma_float_1.c	(revision 180023)
+++ gcc.target/i386/l_fma_float_1.c	(working copy)
@@ -1,6 +1,5 @@ 
 /* { dg-do compile } */
-/* { dg-prune-output ".*warning: 'sseregparm' attribute ignored.*" } */
-/* { dg-options "-O3 -mfpmath=sse -mfma -mtune=generic" } */
+/* { dg-options "-O3 -Wno-attributes -mfpmath=sse -mfma -mtune=generic" } */
 
 /* Test that the compiler properly optimizes floating point multiply
    and add instructions into FMA3 instructions.  */