aboutsummaryrefslogtreecommitdiff
path: root/gcc/gcc.c
diff options
context:
space:
mode:
authorJim Wilson <wilson@cygnus.com>1998-04-20 20:51:02 +0000
committerJim Wilson <wilson@gcc.gnu.org>1998-04-20 13:51:02 -0700
commitbb27e6c9bae423737f50d3024b7cb49843da4b67 (patch)
treeb4888e754114d38536e2e337ae28e58ecb0ea78d /gcc/gcc.c
parenta9a05945da24b9ded567adcb3d81822463c82920 (diff)
downloadgcc-bb27e6c9bae423737f50d3024b7cb49843da4b67.zip
gcc-bb27e6c9bae423737f50d3024b7cb49843da4b67.tar.gz
gcc-bb27e6c9bae423737f50d3024b7cb49843da4b67.tar.bz2
Fix i386-* failure that shows up as a cpp usage message.
* gcc.c (do_spec_1, case '['): Move flag out of loop and initialize it. From-SVN: r19350
Diffstat (limited to 'gcc/gcc.c')
-rw-r--r--gcc/gcc.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/gcc/gcc.c b/gcc/gcc.c
index ed2ef72..fa47ee3 100644
--- a/gcc/gcc.c
+++ b/gcc/gcc.c
@@ -3869,13 +3869,12 @@ do_spec_1 (spec, inswitch, soft_matched_part)
char *x = (char *) alloca (strlen (name) * 2 + 1);
char *buf = x;
char *y = name;
+ int flag = 0;
/* Copy all of NAME into BUF, but put __ after
every -D and at the end of each arg, */
while (1)
{
- int flag;
-
if (! strncmp (y, "-D", 2))
{
*x++ = '-';