if-to-switch: Fix test-suite patterns.
authorMartin Liska <mliska@suse.cz>
Tue, 1 Dec 2020 19:38:40 +0000 (20:38 +0100)
committerMartin Liska <mliska@suse.cz>
Tue, 1 Dec 2020 19:53:04 +0000 (20:53 +0100)
commitefd1d4f8ae2850e5cd8028531dfe4eced628489e
tree5ead3ae18e8b272e4b49d7601d0d4f7f0f269f6a
parent41676a36a04d5ef86012195d84830df191ee6790
if-to-switch: Fix test-suite patterns.

gcc/testsuite/ChangeLog:

PR testsuite/98085
* g++.dg/tree-ssa/if-to-switch-1.C: Do not expect precise number
of BBs.
* gcc.dg/tree-ssa/if-to-switch-1.c: Likewise.
* gcc.dg/tree-ssa/if-to-switch-2.c: Likewise. Find better name
for the function.
* gcc.dg/tree-ssa/if-to-switch-3.c: Likewise. Find better name
for the function.
* gcc.dg/tree-ssa/if-to-switch-5.c: Likewise.
gcc/testsuite/g++.dg/tree-ssa/if-to-switch-1.C
gcc/testsuite/gcc.dg/tree-ssa/if-to-switch-1.c
gcc/testsuite/gcc.dg/tree-ssa/if-to-switch-2.c
gcc/testsuite/gcc.dg/tree-ssa/if-to-switch-3.c
gcc/testsuite/gcc.dg/tree-ssa/if-to-switch-5.c