operand_equal_p: add support for OBJ_TYPE_REF.
authorMartin Liska <mliska@suse.cz>
Wed, 30 Oct 2019 11:56:58 +0000 (12:56 +0100)
committerMartin Liska <marxin@gcc.gnu.org>
Wed, 30 Oct 2019 11:56:58 +0000 (11:56 +0000)
commit96e05bf5aece312bb35736bf3b6bd59560b312a1
tree000d2a316048372851a2efb901c57216d62436e3
parent0f92815326da137187fdf8841f48f6013a6022ed
operand_equal_p: add support for OBJ_TYPE_REF.

2019-10-30  Martin Liska  <mliska@suse.cz>

* fold-const.c (operand_equal_p): Support OBJ_TYPE_REF.
* tree.c (add_expr): Hash parts of OBJ_TYPE_REF.

From-SVN: r277612
gcc/ChangeLog
gcc/fold-const.c
gcc/tree.c