This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Minor bugfix in dwarf2out.c
- To: gcc-patches at gcc dot gnu dot org
- Subject: Minor bugfix in dwarf2out.c
- From: kenner at vlsi1 dot ultra dot nyu dot edu (Richard Kenner)
- Date: Sun, 17 Dec 00 12:46:09 EST
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 ----