reassoc: Test rank biasing
commit92cdd338fdbfd33f72e645af1caaa1a357fe9839
authorIlya Leoshkevich <iii@linux.ibm.com>
Tue, 14 Sep 2021 19:31:31 +0000 (14 21:31 +0200)
committerIlya Leoshkevich <iii@linux.ibm.com>
Tue, 28 Sep 2021 12:58:23 +0000 (28 14:58 +0200)
treefe7fe44e48c2259afc00e211a6bc699ec6fb5096
parentc32f7df917b01c3636aa85916a36264e807ced9d
reassoc: Test rank biasing

Add both positive and negative tests.

gcc/testsuite/ChangeLog:

* gcc.dg/tree-ssa/reassoc-46.c: New test.
* gcc.dg/tree-ssa/reassoc-46.h: Common code for new tests.
* gcc.dg/tree-ssa/reassoc-47.c: New test.
* gcc.dg/tree-ssa/reassoc-48.c: New test.
* gcc.dg/tree-ssa/reassoc-49.c: New test.
* gcc.dg/tree-ssa/reassoc-50.c: New test.
* gcc.dg/tree-ssa/reassoc-51.c: New test.
gcc/testsuite/gcc.dg/tree-ssa/reassoc-46.c [new file with mode: 0644]
gcc/testsuite/gcc.dg/tree-ssa/reassoc-46.h [new file with mode: 0644]
gcc/testsuite/gcc.dg/tree-ssa/reassoc-47.c [new file with mode: 0644]
gcc/testsuite/gcc.dg/tree-ssa/reassoc-48.c [new file with mode: 0644]
gcc/testsuite/gcc.dg/tree-ssa/reassoc-49.c [new file with mode: 0644]
gcc/testsuite/gcc.dg/tree-ssa/reassoc-50.c [new file with mode: 0644]
gcc/testsuite/gcc.dg/tree-ssa/reassoc-51.c [new file with mode: 0644]