From f2014355fc3edf44c4155b80705d23caebb0824d Mon Sep 17 00:00:00 2001 From: dalej Date: Mon, 18 Apr 2005 20:51:18 +0000 Subject: [PATCH] 2005-04-18 Christopher Jaillet * config/rs6000/rs6000.c (machopic_output_stub): Increase alloca argument to be big enough. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@98348 138bc75d-0d04-0410-961f-82ee72b054a4 --- gcc/ChangeLog | 5 +++++ gcc/config/rs6000/rs6000.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 225d5325..77169f1 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2005-04-18 Christopher Jaillet + + * config/rs6000/rs6000.c (machopic_output_stub): Increase + alloca argument to be big enough. + 2005-04-18 Alexandre Oliva PR middle-end/21049 diff --git a/gcc/config/rs6000/rs6000.c b/gcc/config/rs6000/rs6000.c index e3b5cfa..1559f0d 100644 --- a/gcc/config/rs6000/rs6000.c +++ b/gcc/config/rs6000/rs6000.c @@ -16347,7 +16347,7 @@ machopic_output_stub (FILE *file, const char *symb, const char *stub) fprintf (file, "\t.indirect_symbol %s\n", symbol_name); label++; - local_label_0 = alloca (sizeof ("\"L0000000000$spb\"")); + local_label_0 = alloca (sizeof ("\"L00000000000$spb\"")); sprintf (local_label_0, "\"L%011d$spb\"", label); fprintf (file, "\tmflr r0\n"); -- 2.7.4