diff options
author | Richard Kenner <kenner@vlsi1.ultra.nyu.edu> | 2000-12-17 17:45:19 +0000 |
---|---|---|
committer | Richard Kenner <kenner@gcc.gnu.org> | 2000-12-17 12:45:19 -0500 |
commit | ed972b14ec2ef437ca42b0136fe466aed04fed7a (patch) | |
tree | 8836c2f2592c6e20e68761bc5c38ccffefdd037b | |
parent | 5005666bd769ddce1dc28377edfa09cb574817d1 (diff) | |
download | gcc-ed972b14ec2ef437ca42b0136fe466aed04fed7a.zip gcc-ed972b14ec2ef437ca42b0136fe466aed04fed7a.tar.gz gcc-ed972b14ec2ef437ca42b0136fe466aed04fed7a.tar.bz2 |
dwarf2out.c (loc_descriptor_from_tree, [...]): New case.
* 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.
From-SVN: r38335
-rw-r--r-- | gcc/ChangeLog | 7 | ||||
-rw-r--r-- | gcc/dwarf2out.c | 6 |
2 files changed, 12 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index e343074..2bb19be 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +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. + 2000-12-17 Richard Earnshaw <rearnsha@arm.com> * Makefile.in (check-po): Use $(MAKE). @@ -11,6 +17,7 @@ * cpperror.c (print_location): Initialize col. 2000-12-14 Philipp Thomas <pthomas@suse.de> + * protoize.c (main): Correctly set locale categories. * gcc.c (main): Likewise. * cppmain.c (general_init): Likewise. diff --git a/gcc/dwarf2out.c b/gcc/dwarf2out.c index cb4f6f7..6d23ae4 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; |