* fold-const.c (operand_equal_p): Handle VIEW_CONVERT_EXPR.

From-SVN: r229278
This commit is contained in:
Jan Hubicka 2015-10-24 01:30:31 +02:00 committed by Jan Hubicka
parent 9145a53941
commit 3c7a8ece3e
2 changed files with 5 additions and 0 deletions

View file

@ -1,3 +1,7 @@
2015-10-23 Jan Hubicka <hubicka@ucw.cz>
* fold-const.c (operand_equal_p): Handle VIEW_CONVERT_EXPR.
2015-10-23 Caroline Tice <cmtice@google.com>
(from Richard Biener

View file

@ -2967,6 +2967,7 @@ operand_equal_p (const_tree arg0, const_tree arg1, unsigned int flags)
case REALPART_EXPR:
case IMAGPART_EXPR:
case VIEW_CONVERT_EXPR:
return OP_SAME (0);
case TARGET_MEM_REF: