* varasm.c (compare_constant, case VIEW_CONVERT_EXPR): Add case.

From-SVN: r80851
This commit is contained in:
Richard Kenner 2004-04-19 13:52:16 +00:00 committed by Richard Kenner
parent 66a5d24b77
commit a3d71605ed
2 changed files with 3 additions and 0 deletions

View 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.

View 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: