Commit 931db8d2 by David Edelsohn

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
parent c4d7a90e
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> 2001-12-02 Neil Booth <neil@daikokuya.demon.co.uk>
* c-decl.c (duplicate_decls, push_parm_decl): Remove leading * 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> ...@@ -434,7 +439,7 @@ Wed Nov 28 10:42:19 CET 2001 Jan Hubicka <jh@suse.cz>
* toplev.c: Update comment. * toplev.c: Update comment.
* doc/passes.texi: Update. * doc/passes.texi: Update.
objc: 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_DISREGARD_INLINE_LIMITS,
LANG_HOOKS_TREE_INLINING_ANON_AGGR_TYPE_P): Override. LANG_HOOKS_TREE_INLINING_ANON_AGGR_TYPE_P): Override.
(objc_init): Update to use c_objc_common_init. (objc_init): Update to use c_objc_common_init.
......
...@@ -1061,8 +1061,10 @@ gen_lowpart_common (mode, x) ...@@ -1061,8 +1061,10 @@ gen_lowpart_common (mode, x)
if (HOST_BITS_PER_WIDE_INT != 64) if (HOST_BITS_PER_WIDE_INT != 64)
abort (); abort ();
return immed_double_const (i[3 * endian] | (i[1 + endian] << 32), return immed_double_const (i[3 * endian]
i[2 - endian] | (i [3 - 3 * endian] << 32), | ((HOST_WIDE_INT) i[1 + endian] << 32),
i[2 - endian]
| ((HOST_WIDE_INT) i[3 - 3 * endian] << 32),
mode); mode);
#endif #endif
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment