emit-rtl.c (gen_lowpart_common): Cast array element to HOST_WIDE_INT before shifting.

* emit-rtl.c (gen_lowpart_common): Cast array element to HOST_WIDE_INT
        before shifting.

From-SVN: r47521
This commit is contained in:
David Edelsohn 2001-12-02 01:06:18 -05:00
parent c4d7a90e8a
commit 931db8d24f
2 changed files with 10 additions and 3 deletions

View File

@ -1,3 +1,8 @@
2001-12-02 David Edelsohn <edelsohn@gnu.org>
* emit-rtl.c (gen_lowpart_common): Cast array element to HOST_WIDE_INT
before shifting.
2001-12-02 Neil Booth <neil@daikokuya.demon.co.uk>
* c-decl.c (duplicate_decls, push_parm_decl): Remove leading
@ -434,7 +439,7 @@ Wed Nov 28 10:42:19 CET 2001 Jan Hubicka <jh@suse.cz>
* toplev.c: Update comment.
* doc/passes.texi: Update.
objc:
* ojbc-act.c (LANG_HOOKS_TREE_INLINING_CANNOT_INLINE_TREE_FN,
* objc-act.c (LANG_HOOKS_TREE_INLINING_CANNOT_INLINE_TREE_FN,
LANG_HOOKS_TREE_INLINING_DISREGARD_INLINE_LIMITS,
LANG_HOOKS_TREE_INLINING_ANON_AGGR_TYPE_P): Override.
(objc_init): Update to use c_objc_common_init.

View File

@ -1061,8 +1061,10 @@ gen_lowpart_common (mode, x)
if (HOST_BITS_PER_WIDE_INT != 64)
abort ();
return immed_double_const (i[3 * endian] | (i[1 + endian] << 32),
i[2 - endian] | (i [3 - 3 * endian] << 32),
return immed_double_const (i[3 * endian]
| ((HOST_WIDE_INT) i[1 + endian] << 32),
i[2 - endian]
| ((HOST_WIDE_INT) i[3 - 3 * endian] << 32),
mode);
#endif
}