Commit 917d7595 by Clinton Popetz Committed by Clinton Popetz

dbxout.c (dbxout_parms): When correcting for promoted big-endian parameters...

	* dbxout.c (dbxout_parms): When correcting for promoted
	big-endian parameters, use the mode of the DECL_RTL rather
	than UNITS_PER_WORD.

From-SVN: r32420
parent 98eddaf7
2000-03-08 Clinton Popetz <cpopetz@cygnus.com>
* dbxout.c (dbxout_parms): When correcting for promoted
big-endian parameters, use the mode of the DECL_RTL rather
than UNITS_PER_WORD.
2000-03-08 Nathan Sidwell <nathan@codesourcery.com>
* c-common.h (make_fname_decl): Declare.
......
......@@ -2488,7 +2488,9 @@ dbxout_parms (parms)
&& TYPE_MODE (TREE_TYPE (parms)) != GET_MODE (DECL_RTL (parms))
&& GET_MODE_SIZE (TYPE_MODE (TREE_TYPE (parms))) < UNITS_PER_WORD)
{
current_sym_value += UNITS_PER_WORD - GET_MODE_SIZE (TYPE_MODE (TREE_TYPE (parms)));
current_sym_value +=
GET_MODE_SIZE (GET_MODE (DECL_RTL (parms)))
- GET_MODE_SIZE (TYPE_MODE (TREE_TYPE (parms)));
}
FORCE_TEXT;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment