* fold-const.c (operand_equal_p): Handle VIEW_CONVERT_EXPR.
authorJan Hubicka <hubicka@ucw.cz>
Fri, 23 Oct 2015 23:30:31 +0000 (01:30 +0200)
committerJan Hubicka <hubicka@gcc.gnu.org>
Fri, 23 Oct 2015 23:30:31 +0000 (23:30 +0000)
From-SVN: r229278

gcc/ChangeLog
gcc/fold-const.c

index 97748bdf551c545745ef83c0ebef0ef07f84d10e..5938dc16c7a2d479697a091fcd931b2b2b7b15fb 100644 (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
index df49f87f716a841f51bb01a050c6008eb5d2eb56..ffad7328a39edc72fd6562c9a80dd36f4acc0e72 100644 (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: