On Sat, Oct 15, 2011 at 10:14 AM, Andreas Schwab <sch...@linux-m68k.org> 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.

Uros.

Reply via email to