OSDN Git Service
(root)
/
pf3gnuchains
/
gcc-fork.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
* doc/contrib.texi: Update contributions.
[pf3gnuchains/gcc-fork.git]
/
gcc
/
xcoffout.c
diff --git
a/gcc/xcoffout.c
b/gcc/xcoffout.c
index
fb99903
..
3c63e81
100644
(file)
--- a/
gcc/xcoffout.c
+++ b/
gcc/xcoffout.c
@@
-413,7
+413,7
@@
xcoffout_declare_function (FILE *file, tree decl, const char *name)
len = strlen (name);
if (name[len - 1] == ']')
{
- char *n =
alloca (
len - 3);
+ char *n =
XALLOCAVEC (char,
len - 3);
memcpy (n, name, len - 4);
n[len - 4] = '\0';
name = n;