[debug/13267] proposed patch to dwarf2out.c
Jim Wilson
wilson@specifixinc.com
Wed Apr 21 00:06:00 GMT 2004
On Tue, 2004-04-20 at 10:32, DJ Delorie wrote:
> * dwarf2out.c (rtl_for_decl_location): Adjust rtl for byte
> variables stored in word registers, then in memory.
The last sentence of the comment is wrong. The comment says we can't
fix this in rtl_for_decl_location, but we are fixing it there. This
must be left over from an earlier version of the patch.
In the interests of speed, it is probably a good idea to add a mode
check, i.e.
GET_MODE (rtl) != TYPE_MODE (TREE_TYPE (decl))
there is no point in doing the calculations if the modes are the same,
and this will be true almost all of the time.
Otherwise this is OK.
--
Jim Wilson, GNU Tools Support, http://www.SpecifixInc.com
More information about the Gcc-patches
mailing list