diff options
author | Jan Hubicka <hubicka@gcc.gnu.org> | 2003-12-03 00:59:25 +0000 |
---|---|---|
committer | Jan Hubicka <hubicka@gcc.gnu.org> | 2003-12-03 00:59:25 +0000 |
commit | 296e4ae8812fd0299b71c090b5dbaaa39c91ee31 (patch) | |
tree | 466f189df53e9a8f0bd9d83445abca2c7804fae3 /gcc/config/i386/i386.c | |
parent | 8ef3373200ce1bcdd2025f4c935b66ab0b4037c0 (diff) | |
download | gcc-296e4ae8812fd0299b71c090b5dbaaa39c91ee31.zip gcc-296e4ae8812fd0299b71c090b5dbaaa39c91ee31.tar.gz gcc-296e4ae8812fd0299b71c090b5dbaaa39c91ee31.tar.bz2 |
* i386.c (classify_argument): Make it 64bit clean.
From-SVN: r74209
Diffstat (limited to 'gcc/config/i386/i386.c')
-rw-r--r-- | gcc/config/i386/i386.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/config/i386/i386.c b/gcc/config/i386/i386.c index 240e46a..d12ab98 100644 --- 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; |