From 3c7a8ece3e130a713f6ec6a900cadfbe50583d91 Mon Sep 17 00:00:00 2001 From: Jan Hubicka Date: Sat, 24 Oct 2015 01:30:31 +0200 Subject: [PATCH] * fold-const.c (operand_equal_p): Handle VIEW_CONVERT_EXPR. From-SVN: r229278 --- gcc/ChangeLog | 4 ++++ gcc/fold-const.c | 1 + 2 files changed, 5 insertions(+) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 97748bdf551..5938dc16c7a 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +2015-10-23 Jan Hubicka + + * fold-const.c (operand_equal_p): Handle VIEW_CONVERT_EXPR. + 2015-10-23 Caroline Tice (from Richard Biener diff --git a/gcc/fold-const.c b/gcc/fold-const.c index df49f87f716..ffad7328a39 100644 --- a/gcc/fold-const.c +++ b/gcc/fold-const.c @@ -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: -- 2.30.2