[PATCH, testsuite]: Committed: Fix PR testsuite/37617
Jakub Jelinek
jakub@redhat.com
Fri Nov 14 12:29:00 GMT 2008
On Fri, Nov 14, 2008 at 12:17:57PM +0100, Uros Bizjak wrote:
> Attached patch tightens scan-assembler-not pattern to exclude unrelated calls.
>
> 2008-11-14 Uros Bizjak <ubizjak@gmail.com>
>
> PR testsuite/37517
> * gcc.target/i386/quad-sse.c: Tighten scan-assembler-not pattern.
>
> Tested on i686-pc-linux-gnu, commited to mainline.
>
> Uros.
>
> Index: quad-sse.c
> ===================================================================
> --- quad-sse.c (revision 141851)
> +++ quad-sse.c (working copy)
> @@ -18,4 +18,4 @@
> return __builtin_copysignq (x, y);
> }
>
> -/* { dg-final { scan-assembler-not "call" } } */
> +/* { dg-final { scan-assembler-not "call.*(neg|fabs|copysign)" } } */
This can still match
call something
.... a lot of lines...
.ascii "copysign"
etc. Shouldn't that be "call\[^\n\t\]+(neg|fabs|copysign)" instead?
Jakub
More information about the Gcc-patches
mailing list