sibcall-2.c (dg-final): Properly escape '[' and ']' in scan-assembler-not string.

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

From-SVN: r211118
This commit is contained in:
Uros Bizjak 2014-06-01 22:37:41 +02:00 committed by Uros Bizjak
parent e9e195d6da
commit 7fd009d0a7
5 changed files with 12 additions and 4 deletions

View File

@ -1,3 +1,11 @@
2014-06-01 Uros Bizjak <ubizjak@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.
2014-06-01 Uros Bizjak <ubizjak@gmail.com> 2014-06-01 Uros Bizjak <ubizjak@gmail.com>
* g++.dg/pr60969.C (dg-do compile): Change ilp32 target to ia32. * g++.dg/pr60969.C (dg-do compile): Change ilp32 target to ia32.

View File

@ -13,4 +13,4 @@ int foo (int a)
return (a < 0 ? doo1 : doo2) (a); return (a < 0 ? doo1 : doo2) (a);
} }
/* { dg-final { scan-assembler-not "call[ \t]*.%eax" } } */ /* { dg-final { scan-assembler-not "call\[ \t\]*.%eax" } } */

View File

@ -13,4 +13,4 @@ void bar (int a)
return foo (a); return foo (a);
} }
/* { dg-final { scan-assembler-not "jmp[ \t]*.%eax" } } */ /* { dg-final { scan-assembler-not "jmp\[ \t\]*.%eax" } } */

View File

@ -12,4 +12,4 @@ void male_indirect_jump (long offset)
dispatch[offset](offset); dispatch[offset](offset);
} }
/* { dg-final { scan-assembler-not "jmp[ \t]*.%eax" } } */ /* { dg-final { scan-assembler-not "jmp\[ \t\]*.%eax" } } */

View File

@ -34,4 +34,4 @@ ira_traverse_loop_tree (int bb_p, ira_loop_tree_node_t loop_node,
if (postorder_func) if (postorder_func)
(*postorder_func) (loop_node); (*postorder_func) (loop_node);
} }
/* { dg-final { scan-assembler "jmp[ \t]*.%eax" } } */ /* { dg-final { scan-assembler "jmp\[ \t\]*.%eax" } } */