* mkdeps.c (deps_add_dep): Fix vector re-allocation.

From-SVN: r38748
This commit is contained in:
Neil Booth 2001-01-06 11:08:49 +00:00 committed by Neil Booth
parent ea55fa7ab1
commit fa6f74f611
2 changed files with 5 additions and 1 deletions

View File

@ -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

View File

@ -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 *));
}