diff options
author | Jakub Jelinek <jakub@gcc.gnu.org> | 2007-02-20 20:16:49 +0000 |
---|---|---|
committer | Jakub Jelinek <jakub@gcc.gnu.org> | 2007-02-20 20:16:49 +0000 |
commit | fd08c1f3c60128f7c7c72d8403d55b014984c92f (patch) | |
tree | d8ebb3a71e447692194c65cb7a89b31be10dcf81 /gcc/reload1.c | |
parent | 8bd117bacae1851567f1116e0b4b41ba6d121f6e (diff) |
svn merge -r121963:122172 svn+ssh://gcc.gnu.org/svn/gcc/branches/redhat/gcc-4_1-branch/redhat/gcc-4_1-branch-java-merge-20070117
git-svn-id: https://gcc.gnu.org/svn/gcc/branches/redhat/gcc-4_1-branch-java-merge-20070117@122173 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/reload1.c')
-rw-r--r-- | gcc/reload1.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/gcc/reload1.c b/gcc/reload1.c index 42f186f7bc8..9ef2f6f5ec2 100644 --- a/gcc/reload1.c +++ b/gcc/reload1.c @@ -1,6 +1,7 @@ /* Reload pseudo regs into hard regs for insns that require hard regs. Copyright (C) 1987, 1988, 1989, 1992, 1993, 1994, 1995, 1996, 1997, 1998, - 1999, 2000, 2001, 2002, 2003, 2004, 2005 Free Software Foundation, Inc. + 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2007 + Free Software Foundation, Inc. This file is part of GCC. @@ -3054,6 +3055,7 @@ eliminate_regs_in_insn (rtx insn, int replace) { rtx to_rtx = ep->to_rtx; offset += ep->offset; + offset = trunc_int_for_mode (offset, GET_MODE (reg)); if (GET_CODE (XEXP (plus_cst_src, 0)) == SUBREG) to_rtx = gen_lowpart (GET_MODE (XEXP (plus_cst_src, 0)), |