IPA: compare VRP types.
authorMartin Liska <mliska@suse.cz>
Thu, 15 Oct 2020 12:57:31 +0000 (14:57 +0200)
committerMartin Liska <mliska@suse.cz>
Fri, 16 Oct 2020 07:42:40 +0000 (09:42 +0200)
commita86623902767122c71c7229150a8b8a79cbb3673
tree3bb430a6592c2b7ba9d37912eb38eb6b486d35b6
parent23a9215f3e68ad91b81e951f09b564c4bc89033c
IPA: compare VRP types.

gcc/ChangeLog:

PR ipa/97404
* ipa-prop.c (struct ipa_vr_ggc_hash_traits):
Compare types of VRP as we can merge ranges of different types.

gcc/testsuite/ChangeLog:

PR ipa/97404
* gcc.c-torture/execute/pr97404.c: New test.
gcc/ipa-prop.c
gcc/testsuite/gcc.c-torture/execute/pr97404.c [new file with mode: 0644]