diff options
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/testsuite/g++.dg/tree-ssa/if-to-switch-1.C | 2 | ||||
-rw-r--r-- | gcc/testsuite/gcc.dg/tree-ssa/if-to-switch-1.c | 2 | ||||
-rw-r--r-- | gcc/testsuite/gcc.dg/tree-ssa/if-to-switch-2.c | 4 | ||||
-rw-r--r-- | gcc/testsuite/gcc.dg/tree-ssa/if-to-switch-3.c | 4 | ||||
-rw-r--r-- | gcc/testsuite/gcc.dg/tree-ssa/if-to-switch-5.c | 2 |
5 files changed, 7 insertions, 7 deletions
diff --git a/gcc/testsuite/g++.dg/tree-ssa/if-to-switch-1.C b/gcc/testsuite/g++.dg/tree-ssa/if-to-switch-1.C index 88505e8..96c4d57 100644 --- a/gcc/testsuite/g++.dg/tree-ssa/if-to-switch-1.C +++ b/gcc/testsuite/g++.dg/tree-ssa/if-to-switch-1.C @@ -22,4 +22,4 @@ void tree_node() { int g = 0; } -/* { dg-final { scan-tree-dump "Condition chain with 3 BBs transformed into a switch statement." "iftoswitch" } } */ +/* { dg-final { scan-tree-dump "Condition chain with .* BBs transformed into a switch statement." "iftoswitch" } } */ diff --git a/gcc/testsuite/gcc.dg/tree-ssa/if-to-switch-1.c b/gcc/testsuite/gcc.dg/tree-ssa/if-to-switch-1.c index 92df4e9..52f92ae 100644 --- a/gcc/testsuite/gcc.dg/tree-ssa/if-to-switch-1.c +++ b/gcc/testsuite/gcc.dg/tree-ssa/if-to-switch-1.c @@ -32,4 +32,4 @@ int main(int argc, char **argv) return 0; } -/* { dg-final { scan-tree-dump "Condition chain with 5 BBs transformed into a switch statement." "iftoswitch" } } */ +/* { dg-final { scan-tree-dump "Condition chain with .* BBs transformed into a switch statement." "iftoswitch" } } */ diff --git a/gcc/testsuite/gcc.dg/tree-ssa/if-to-switch-2.c b/gcc/testsuite/gcc.dg/tree-ssa/if-to-switch-2.c index 36e62ae..c229614 100644 --- a/gcc/testsuite/gcc.dg/tree-ssa/if-to-switch-2.c +++ b/gcc/testsuite/gcc.dg/tree-ssa/if-to-switch-2.c @@ -1,11 +1,11 @@ /* { dg-do compile } */ /* { dg-options "-O2 -fdump-tree-iftoswitch-optimized" } */ -int IsHTMLWhitespaceNoRange(int aChar) +int isMyRandomCharacter(int aChar) { return aChar == 0x0001 || aChar == 0x000A || aChar == 0x000C || aChar == 0x000E || aChar == 0x0020; } -/* { dg-final { scan-tree-dump "Condition chain with 3 BBs transformed into a switch statement." "iftoswitch" } } */ +/* { dg-final { scan-tree-dump "Condition chain with .* BBs transformed into a switch statement." "iftoswitch" } } */ diff --git a/gcc/testsuite/gcc.dg/tree-ssa/if-to-switch-3.c b/gcc/testsuite/gcc.dg/tree-ssa/if-to-switch-3.c index 9a4ce16..4c7253c 100644 --- a/gcc/testsuite/gcc.dg/tree-ssa/if-to-switch-3.c +++ b/gcc/testsuite/gcc.dg/tree-ssa/if-to-switch-3.c @@ -1,11 +1,11 @@ /* { dg-do compile } */ /* { dg-options "-O2 -fdump-tree-iftoswitch-optimized" } */ -int IsHTMLWhitespace(int aChar) +int IsMySuperRandomChar(int aChar) { return aChar == 0x0009 || aChar == 0x000A || aChar == 0x000C || aChar == 0x000D || aChar == 0x0020 || aChar == 0x0030; } -/* { dg-final { scan-tree-dump "Condition chain with 3 BBs transformed into a switch statement." "iftoswitch" } } */ +/* { dg-final { scan-tree-dump "Condition chain with .* BBs transformed into a switch statement." "iftoswitch" } } */ diff --git a/gcc/testsuite/gcc.dg/tree-ssa/if-to-switch-5.c b/gcc/testsuite/gcc.dg/tree-ssa/if-to-switch-5.c index 7734a58..43b0f31 100644 --- a/gcc/testsuite/gcc.dg/tree-ssa/if-to-switch-5.c +++ b/gcc/testsuite/gcc.dg/tree-ssa/if-to-switch-5.c @@ -9,4 +9,4 @@ int crud (unsigned char c) || (int) c == 39) != 0); } -/* { dg-final { scan-tree-dump "Condition chain with 5 BBs transformed into a switch statement." "iftoswitch" } } */ +/* { dg-final { scan-tree-dump "Condition chain with .* BBs transformed into a switch statement." "iftoswitch" } } */ |