projects
/
gcc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f30d95d
)
(assign_parms): Set REGNO_POINTER_ALIGN for parms that are pointers.
author
Richard Kenner
<kenner@gcc.gnu.org>
Wed, 27 Dec 1995 20:22:26 +0000
(15:22 -0500)
committer
Richard Kenner
<kenner@gcc.gnu.org>
Wed, 27 Dec 1995 20:22:26 +0000
(15:22 -0500)
From-SVN: r10868
gcc/function.c
patch
|
blob
|
history
diff --git
a/gcc/function.c
b/gcc/function.c
index b62a284f66dd973f77d0eac30ce2253c5b4921e2..d1e2859b704b6796019c466cb7a4fd2896b6e466 100644
(file)
--- a/
gcc/function.c
+++ b/
gcc/function.c
@@
-3848,7
+3848,9
@@
assign_parms (fndecl, second_time)
/* For pointer data type, suggest pointer register. */
if (TREE_CODE (TREE_TYPE (parm)) == POINTER_TYPE)
- mark_reg_pointer (parmreg);
+ mark_reg_pointer (parmreg,
+ (TYPE_ALIGN (TREE_TYPE (TREE_TYPE (parm)))
+ / BITS_PER_UNIT));
}
else
{