testsuite: Also test swapped arguments of __builtin_mul_overflow_p [PR30314]
authorJakub Jelinek <jakub@redhat.com>
Thu, 2 Jun 2022 09:14:09 +0000 (11:14 +0200)
committerJakub Jelinek <jakub@redhat.com>
Thu, 2 Jun 2022 09:17:23 +0000 (11:17 +0200)
commit72c605eea94065606b5ddcb5a51ef24a3d2841e9
treeb259c855eef7909fc618726e172e55f1e2ca6155
parentcdfc6e92b49eb722a521c1eefafcce5e0d0b19e3
testsuite: Also test swapped arguments of __builtin_mul_overflow_p [PR30314]

To test the commutativity of __builtin_mul_overflow* arguments in the
optimization, I've added 2 further tests.

2022-06-02  Jakub Jelinek  <jakub@redhat.com>

PR middle-end/30314
* gcc.dg/tree-ssa/pr30314.c: Add tests with swapped arguments.
gcc/testsuite/gcc.dg/tree-ssa/pr30314.c