From a3d71605eda14b9830f51b6b9ef1fedc20a4d6e9 Mon Sep 17 00:00:00 2001 From: Richard Kenner Date: Mon, 19 Apr 2004 13:52:16 +0000 Subject: [PATCH] * varasm.c (compare_constant, case VIEW_CONVERT_EXPR): Add case. From-SVN: r80851 --- gcc/ChangeLog | 2 ++ gcc/varasm.c | 1 + 2 files changed, 3 insertions(+) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index f8c60da9be5..3bd73fee5e5 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -11,6 +11,8 @@ 2004-04-19 Richard Kenner + * varasm.c (compare_constant, case VIEW_CONVERT_EXPR): Add case. + * expmed.c (expand_mult_highpart_adjust): Make OP1 valid for MODE. (expand_mult_highpart_optab): Likewise. (expand_mult_highpart): Make OP1 valid for WIDER_MODE, not MODE. diff --git a/gcc/varasm.c b/gcc/varasm.c index c94d514e299..e94187f2d1d 100644 --- a/gcc/varasm.c +++ b/gcc/varasm.c @@ -2302,6 +2302,7 @@ compare_constant (const tree t1, const tree t2) case NOP_EXPR: case CONVERT_EXPR: case NON_LVALUE_EXPR: + case VIEW_CONVERT_EXPR: return compare_constant (TREE_OPERAND (t1, 0), TREE_OPERAND (t2, 0)); default: -- 2.30.2