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]

Minor bugfix in dwarf2out.c


Sun Dec 17 12:41:48 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>

	* dwarf2out.c (loc_descriptor_from_tree, case NOP_EXPR): New case.
	(loc_descriptor_from_tree, case CONVERT_EXPR): Likewise.
	(loc_descriptor_from_tree, case NON_LVALUE_EXPR): Likewise.

*** dwarf2out.c	2000/11/26 19:12:18	1.223
--- dwarf2out.c	2000/12/17 17:40:53
*************** loc_descriptor_from_tree (loc, addressp)
*** 7813,7816 ****
--- 7813,7821 ----
        break;
  
+     case NOP_EXPR:
+     case CONVERT_EXPR:
+     case NON_LVALUE_EXPR:
+       return loc_descriptor_from_tree (TREE_OPERAND (loc, 0), addressp);
+       
      case COMPONENT_REF:
      case BIT_FIELD_REF:
*************** loc_descriptor_from_tree (loc, addressp)
*** 7867,7871 ****
        if (host_integerp (loc, 0))
  	ret = int_loc_descriptor (tree_low_cst (loc, 0));
-       break;
        break;
  
--- 7872,7875 ----

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