Hello! 2014-06-01 Uros Bizjak <ubiz...@gmail.com>
* gcc.target/i386/sibcall-2.c (dg-final): Properly escape '[' and ']' in scan-assembler-not string. * gcc.target/i386/sibcall-3.c (dg-final): Ditto. * gcc.target/i386/sibcall-4.c (dg-final): Ditto. * gcc.target/i386/sibcall-6.c (dg-final): Ditto. Tested on x86_64-pc-linux-gnu {,-m32} and committed to mainline SVN. Uros.
Index: gcc.target/i386/sibcall-2.c =================================================================== --- gcc.target/i386/sibcall-2.c (revision 211112) +++ gcc.target/i386/sibcall-2.c (working copy) @@ -13,4 +13,4 @@ return (a < 0 ? doo1 : doo2) (a); } -/* { dg-final { scan-assembler-not "call[ \t]*.%eax" } } */ +/* { dg-final { scan-assembler-not "call\[ \t\]*.%eax" } } */ Index: gcc.target/i386/sibcall-3.c =================================================================== --- gcc.target/i386/sibcall-3.c (revision 211112) +++ gcc.target/i386/sibcall-3.c (working copy) @@ -13,4 +13,4 @@ return foo (a); } -/* { dg-final { scan-assembler-not "jmp[ \t]*.%eax" } } */ +/* { dg-final { scan-assembler-not "jmp\[ \t\]*.%eax" } } */ Index: gcc.target/i386/sibcall-4.c =================================================================== --- gcc.target/i386/sibcall-4.c (revision 211112) +++ gcc.target/i386/sibcall-4.c (working copy) @@ -12,4 +12,4 @@ dispatch[offset](offset); } -/* { dg-final { scan-assembler-not "jmp[ \t]*.%eax" } } */ +/* { dg-final { scan-assembler-not "jmp\[ \t\]*.%eax" } } */ Index: gcc.target/i386/sibcall-6.c =================================================================== --- gcc.target/i386/sibcall-6.c (revision 211112) +++ gcc.target/i386/sibcall-6.c (working copy) @@ -34,4 +34,4 @@ if (postorder_func) (*postorder_func) (loop_node); } -/* { dg-final { scan-assembler "jmp[ \t]*.%eax" } } */ +/* { dg-final { scan-assembler "jmp\[ \t\]*.%eax" } } */