diff options
Diffstat (limited to 'lang/gcc41/files/patch-regrename.c')
-rw-r--r-- | lang/gcc41/files/patch-regrename.c | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/lang/gcc41/files/patch-regrename.c b/lang/gcc41/files/patch-regrename.c new file mode 100644 index 000000000000..a687acded7eb --- /dev/null +++ b/lang/gcc41/files/patch-regrename.c @@ -0,0 +1,19 @@ +Index: gcc/regrename.c +=================================================================== +RCS file: /cvs/gcc/gcc/gcc/regrename.c,v +retrieving revision 1.72 +retrieving revision 1.73 +diff -u -3 -p -r1.72 -r1.73 +--- gcc/regrename.c 14 Jan 2004 16:25:09 -0000 1.72 ++++ gcc/regrename.c 14 Jan 2004 17:55:20 -0000 1.73 +@@ -1345,8 +1345,8 @@ find_oldest_value_reg (enum reg_class cl + if (!TEST_HARD_REG_BIT (reg_class_contents[class], last)) + return NULL_RTX; + +- if (new = maybe_mode_change (oldmode, vd->e[regno].mode, mode, i, +- regno)) ++ new = maybe_mode_change (oldmode, vd->e[regno].mode, mode, i, regno); ++ if (new) + { + ORIGINAL_REGNO (new) = ORIGINAL_REGNO (reg); + REG_ATTRS (new) = REG_ATTRS (reg); |