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

Andreas Schwab schwab@linux-m68k.org
Sat Oct 15 10:42:00 GMT 2011


Kirill Yukhin <kirill.yukhin@gmail.com> writes:

> --- /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.

Andreas.

-- 
Andreas Schwab, schwab@linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."



More information about the Gcc-patches mailing list