This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Missing VIEW_CONVERT_EXPR


Apparently I missed one in varasm.c.

This fixes two ACATS tests: c37213f and c37215f.

2004-04-19  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>

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

*** varasm.c	13 Apr 2004 23:31:56 -0000	1.421
--- varasm.c	19 Apr 2004 13:26:31 -0000
*************** compare_constant (const tree t1, const t
*** 2303,2306 ****
--- 2303,2307 ----
      case CONVERT_EXPR:
      case NON_LVALUE_EXPR:
+     case VIEW_CONVERT_EXPR:
        return compare_constant (TREE_OPERAND (t1, 0), TREE_OPERAND (t2, 0));
  


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]