projects
/
gcc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8ef3373
)
* i386.c (classify_argument): Make it 64bit clean.
author
Jan Hubicka
<hubicka@gcc.gnu.org>
Wed, 3 Dec 2003 00:59:25 +0000
(
00:59
+0000)
committer
Jan Hubicka
<hubicka@gcc.gnu.org>
Wed, 3 Dec 2003 00:59:25 +0000
(
00:59
+0000)
From-SVN: r74209
gcc/config/i386/i386.c
patch
|
blob
|
history
diff --git
a/gcc/config/i386/i386.c
b/gcc/config/i386/i386.c
index 240e46a32002718b197d822ed444908457f48764..d12ab98016001a4a0d80a8a17caf5f59e7634f9b 100644
(file)
--- a/
gcc/config/i386/i386.c
+++ b/
gcc/config/i386/i386.c
@@
-1934,7
+1934,7
@@
static int
classify_argument (enum machine_mode mode, tree type,
enum x86_64_reg_class classes[MAX_CLASSES], int bit_offset)
{
-
int
bytes =
+
HOST_WIDE_INT
bytes =
(mode == BLKmode) ? int_size_in_bytes (type) : (int) GET_MODE_SIZE (mode);
int words = (bytes + (bit_offset % 64) / 8 + UNITS_PER_WORD - 1) / UNITS_PER_WORD;