testsuite: use param for if-to-switch tests
authorMartin Liska <mliska@suse.cz>
Fri, 4 Dec 2020 09:43:51 +0000 (10:43 +0100)
committerMartin Liska <mliska@suse.cz>
Fri, 4 Dec 2020 09:45:22 +0000 (10:45 +0100)
commit485b40a5270cf50a7304a9e5cb8aff96bfa3d901
tree94450d69b4073efb96b87cabf214575c4533c3eb
parent53a0eb0b7ddd3388db58fead5e8e828c0abde840
testsuite: use param for if-to-switch tests

gcc/testsuite/ChangeLog:

PR testsuite/98123
* gcc.dg/tree-ssa/if-to-switch-4.c: Add param to make the test
stable on all architectures.
* gcc.dg/tree-ssa/if-to-switch-6.c: Likewise.
* gcc.dg/tree-ssa/if-to-switch-8.c: Likewise.
gcc/testsuite/gcc.dg/tree-ssa/if-to-switch-4.c
gcc/testsuite/gcc.dg/tree-ssa/if-to-switch-6.c
gcc/testsuite/gcc.dg/tree-ssa/if-to-switch-8.c