From 9a487a4524b38701177c758fbfdbef7c25862a8c Mon Sep 17 00:00:00 2001 From: Kaz Kojima Date: Thu, 9 Jun 2005 23:42:29 +0000 Subject: [PATCH] sh.md (mextr_rl): Set buffer size properly. * config/sh/sh.md (mextr_rl): Set buffer size properly. (*mextr_lr): Likewise. From-SVN: r100808 --- gcc/ChangeLog | 5 +++++ 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 + + * config/sh/sh.md (mextr_rl): Set buffer size properly. + (*mextr_lr): Likewise. + 2005-06-09 Gabriel Dos Reis 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); -- 2.30.2