* mkdeps.c (deps_add_dep): Fix vector re-allocation.
From-SVN: r38748
This commit is contained in:
parent
ea55fa7ab1
commit
fa6f74f611
@ -1,3 +1,7 @@
|
||||
2001-01-06 Neil Booth <neil@daikokuya.demon.co.uk>
|
||||
|
||||
* mkdeps.c (deps_add_dep): Fix vector re-allocation.
|
||||
|
||||
Sat Jan 6 00:09:34 2001 J"orn Rennecke <amylaar@redhat.com>
|
||||
|
||||
* integrate.c (copy_rtx_and_substitute): When copying
|
||||
|
@ -216,7 +216,7 @@ deps_add_dep (d, t)
|
||||
|
||||
if (d->ndeps == d->deps_size)
|
||||
{
|
||||
d->deps_size *= 2 + 8;
|
||||
d->deps_size = d->deps_size * 2 + 8;
|
||||
d->depv = (const char **)
|
||||
xrealloc (d->depv, d->deps_size * sizeof (const char *));
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user