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
* arith.c (hollerith2representation): Fix for -Wc++-compat.
[pf3gnuchains/gcc-fork.git]
/
gcc
/
fortran
/
interface.c
diff --git
a/gcc/fortran/interface.c
b/gcc/fortran/interface.c
index
f2ad4f6
..
724d662
100644
(file)
--- a/
gcc/fortran/interface.c
+++ b/
gcc/fortran/interface.c
@@
-795,7
+795,7
@@
count_types_test (gfc_formal_arglist *f1, gfc_formal_arglist *f2)
/* Build an array of integers that gives the same integer to
arguments of the same type/rank. */
- arg =
gfc_getmem (n1 * sizeof (arginfo)
);
+ arg =
XCNEWVEC (arginfo, n1
);
f = f1;
for (i = 0; i < n1; i++, f = f->next)