diff options
-rw-r--r-- | gcc/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/config/sh/sh.md | 4 |
2 files changed, 7 insertions, 2 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index f4fd41a0a5f..0711fd5865e 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2005-06-09 Kaz Kojima <kkojima@gcc.gnu.org> + + * config/sh/sh.md (mextr_rl): Set buffer size properly. + (*mextr_lr): Likewise. + 2005-06-09 Gabriel Dos Reis <gdr@integrable-solutions.net> PR c/21759 diff --git a/gcc/config/sh/sh.md b/gcc/config/sh/sh.md index de46e08c82d..4b53129a419 100644 --- a/gcc/config/sh/sh.md +++ b/gcc/config/sh/sh.md @@ -11613,7 +11613,7 @@ mov.l\\t1f,r0\\n\\ "TARGET_SHMEDIA && INTVAL (operands[3]) + INTVAL (operands[4]) == 64" "* { - static char templ[16]; + static char templ[21]; sprintf (templ, \"mextr%d\\t%%N1, %%N2, %%0\", (int) INTVAL (operands[3]) >> 3); @@ -11630,7 +11630,7 @@ mov.l\\t1f,r0\\n\\ "TARGET_SHMEDIA && INTVAL (operands[3]) + INTVAL (operands[4]) == 64" "* { - static char templ[16]; + static char templ[21]; sprintf (templ, \"mextr%d\\t%%N2, %%N1, %%0\", (int) INTVAL (operands[4]) >> 3); |