diff options
author | wilson <wilson@138bc75d-0d04-0410-961f-82ee72b054a4> | 1998-04-20 20:51:02 +0000 |
---|---|---|
committer | wilson <wilson@138bc75d-0d04-0410-961f-82ee72b054a4> | 1998-04-20 20:51:02 +0000 |
commit | 2a54391a3b299b98aa537037fb7e5d99dbc0ce2a (patch) | |
tree | b4888e754114d38536e2e337ae28e58ecb0ea78d /gcc/gcc.c | |
parent | c21ce3f816dcad95c4dc6e2671fd0f826b232c25 (diff) | |
download | gcc-2a54391a3b299b98aa537037fb7e5d99dbc0ce2a.tar.gz |
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19350 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/gcc.c')
-rw-r--r-- | gcc/gcc.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/gcc/gcc.c b/gcc/gcc.c index ed2ef72e216..fa47ee3a5db 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++ = '-'; |