arithmetic on the target; fixes loop-4 on a 32-bit -> 64-bit
cross-compile.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@35109
138bc75d-0d04-0410-961f-
82ee72b054a4
2000-07-17 Geoffrey Keating <geoffk@cygnus.com>
+ * unroll.c (copy_loop_body): Fix one instance of using host
+ arithmetic on the target; fixes loop-4 on a 32-bit -> 64-bit
+ cross-compile.
+
* tlink.c (scan_linker_output): Tweak for output of AIX ld.
2000-07-17 Richard Henderson <rth@cygnus.com>
#endif
splittable_regs[regno]
- = GEN_INT (INTVAL (giv_inc)
- + INTVAL (splittable_regs[src_regno]));
+ = simplify_gen_binary (PLUS, GET_MODE (giv_src_reg),
+ giv_inc,
+ splittable_regs[src_regno]);
giv_inc = splittable_regs[regno];
/* Now split the induction variable by changing the dest