diff options
author | cpopetz <cpopetz@138bc75d-0d04-0410-961f-82ee72b054a4> | 2000-03-08 13:45:17 +0000 |
---|---|---|
committer | cpopetz <cpopetz@138bc75d-0d04-0410-961f-82ee72b054a4> | 2000-03-08 13:45:17 +0000 |
commit | 869621c080e8bf1b20935365b9712591eca71d1b (patch) | |
tree | aed187426ffa07f56b620eacffdb45080bc74dff /gcc/dbxout.c | |
parent | ea2def1358145671cf5532e433ac8f570d4181f1 (diff) | |
download | gcc-869621c080e8bf1b20935365b9712591eca71d1b.tar.gz |
* dbxout.c (dbxout_parms): When correcting for promoted
big-endian parameters, use the mode of the DECL_RTL rather
than UNITS_PER_WORD.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32420 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/dbxout.c')
-rw-r--r-- | gcc/dbxout.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/gcc/dbxout.c b/gcc/dbxout.c index ada8c76a5a8..b97be4d4410 100644 --- a/gcc/dbxout.c +++ b/gcc/dbxout.c @@ -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; |