summaryrefslogtreecommitdiff
path: root/gcc/dwarf2out.c
diff options
context:
space:
mode:
authorkenner <kenner@138bc75d-0d04-0410-961f-82ee72b054a4>2000-12-17 17:45:19 +0000
committerkenner <kenner@138bc75d-0d04-0410-961f-82ee72b054a4>2000-12-17 17:45:19 +0000
commita8abe560b1aa6d0f0c0f3ab3a6ac801fde9d5b1a (patch)
tree8836c2f2592c6e20e68761bc5c38ccffefdd037b /gcc/dwarf2out.c
parent7bed6b5aa73b94c6301621cd42ec2cf9ef23e5f4 (diff)
downloadgcc-a8abe560b1aa6d0f0c0f3ab3a6ac801fde9d5b1a.tar.gz
* 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38335 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/dwarf2out.c')
-rw-r--r--gcc/dwarf2out.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/gcc/dwarf2out.c b/gcc/dwarf2out.c
index cb4f6f77640..6d23ae44094 100644
--- a/gcc/dwarf2out.c
+++ b/gcc/dwarf2out.c
@@ -7812,6 +7812,11 @@ loc_descriptor_from_tree (loc, addressp)
indirect_size = GET_MODE_SIZE (TYPE_MODE (TREE_TYPE (loc)));
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:
case ARRAY_REF:
@@ -7867,7 +7872,6 @@ loc_descriptor_from_tree (loc, addressp)
if (host_integerp (loc, 0))
ret = int_loc_descriptor (tree_low_cst (loc, 0));
break;
- break;
case BIT_AND_EXPR:
op = DW_OP_and;