From 89da1f320879631c80c3f1a756bbb85dafa51ea5 Mon Sep 17 00:00:00 2001 From: Christopher Jaillet Date: Mon, 18 Apr 2005 22:51:18 +0200 Subject: [PATCH] rs6000.c (machopic_output_stub): Increase alloca argument to be big enough. 2005-04-18 Christopher Jaillet * config/rs6000/rs6000.c (machopic_output_stub): Increase alloca argument to be big enough. From-SVN: r98348 --- 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 225d5325995..77169f1ff17 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 e3b5cfa14c6..1559f0d02fc 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.30.2