* varasm.c (compare_constant, case VIEW_CONVERT_EXPR): Add case.
authorRichard Kenner <kenner@vlsi1.ultra.nyu.edu>
Mon, 19 Apr 2004 13:52:16 +0000 (13:52 +0000)
committerRichard Kenner <kenner@gcc.gnu.org>
Mon, 19 Apr 2004 13:52:16 +0000 (09:52 -0400)
From-SVN: r80851

gcc/ChangeLog
gcc/varasm.c

index f8c60da9be5134b955e9783477786593771ff792..3bd73fee5e5297ef65e5bd78c0e4caed29f068ef 100644 (file)
@@ -11,6 +11,8 @@
 
 2004-04-19  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
 
+       * 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.
index c94d514e299f77d94cfdbd6883f0f44b13222dac..e94187f2d1d90f65f5d4eaab533bcdaccbeccee2 100644 (file)
@@ -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: