diff options
author | Richard Kenner <kenner@gcc.gnu.org> | 1996-09-24 08:28:52 -0400 |
---|---|---|
committer | Richard Kenner <kenner@gcc.gnu.org> | 1996-09-24 08:28:52 -0400 |
commit | 1a0bdd2991c6717edb37cbdcfae03842cc3b0a38 (patch) | |
tree | fcb3446d4ad75491dbf8f7557a664a0cd0dc7e7d /gcc/gcc.c | |
parent | a95c317b3d27f636565346d729abad71a584d4fa (diff) | |
download | gcc-1a0bdd2991c6717edb37cbdcfae03842cc3b0a38.zip gcc-1a0bdd2991c6717edb37cbdcfae03842cc3b0a38.tar.gz gcc-1a0bdd2991c6717edb37cbdcfae03842cc3b0a38.tar.bz2 |
(used_arg): Fix multilib_matches parsing to not corrupt entry parameter.
From-SVN: r12834
Diffstat (limited to 'gcc/gcc.c')
-rw-r--r-- | gcc/gcc.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -4944,8 +4944,8 @@ used_arg (p, len) /* Break multilib_matches into the component strings of string and replacement string */ - for (p = multilib_matches; *p != '\0'; p++) - if (*p == ';') + for (q = multilib_matches; *q != '\0'; q++) + if (*q == ';') cnt++; matches = (struct mswitchstr *) alloca ((sizeof (struct mswitchstr)) * cnt); |