dwarf2out.c (reg_number): Abort if pseudo.
authorRichard Kenner <kenner@vlsi1.ultra.nyu.edu>
Sun, 28 Oct 2001 02:30:03 +0000 (02:30 +0000)
committerRichard Kenner <kenner@gcc.gnu.org>
Sun, 28 Oct 2001 02:30:03 +0000 (22:30 -0400)
commite7af1d4538c0728f9bb7c6ae46e77a9e01368264
tree84b13627d1c6001f7953f404983fd8eaccd21c4d
parent6b7d57c7e7f79fbbe3798f783b799c0f386d7286
dwarf2out.c (reg_number): Abort if pseudo.

* dwarf2out.c (reg_number): Abort if pseudo.
(reg_loc_descriptor): Return 0 if pseudo.
(is_based_loc): Return 0 if pseudo.
(mem_loc_descriptor): Return 0 for pseudo and handle 0 return from
recursive calls.
(concat_loc_descriptor): Return 0 if either part's descriptor is 0.
(loc_descriptor): Return 0 if can't find location and handle 0
return from recursive calls.
(loc_descriptor_from_tree): Likewise.
Fix handling of indirect.
Also return 0 for PLACEHOLDER_EXPR.
Clean up COMPONENT_REF cases.
(add_AT_location_descriptor): Simplify, but handle 0 return from
loc_descriptor.
(add_const_value_attribute): Avoid shift count warning.
(add_bound_info): Remove test for PLACEHOLDER_EXPR here.
Set comp_unit_die as context if not in function.

From-SVN: r46573
gcc/ChangeLog
gcc/dwarf2out.c