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
This commit is contained in:
parent
a9a05945da
commit
bb27e6c9ba
@ -1,3 +1,7 @@
|
|||||||
|
Mon Apr 20 20:44:25 1998 Jim Wilson <wilson@cygnus.com>
|
||||||
|
|
||||||
|
* gcc.c (do_spec_1, case '['): Move flag out of loop and initialize it.
|
||||||
|
|
||||||
Mon Apr 20 12:43:09 1998 Doug Evans <devans@canuck.cygnus.com>
|
Mon Apr 20 12:43:09 1998 Doug Evans <devans@canuck.cygnus.com>
|
||||||
|
|
||||||
* flow.c (sbitmap_vector_alloc): Ensure sbitmaps properly aligned.
|
* flow.c (sbitmap_vector_alloc): Ensure sbitmaps properly aligned.
|
||||||
|
@ -3869,13 +3869,12 @@ do_spec_1 (spec, inswitch, soft_matched_part)
|
|||||||
char *x = (char *) alloca (strlen (name) * 2 + 1);
|
char *x = (char *) alloca (strlen (name) * 2 + 1);
|
||||||
char *buf = x;
|
char *buf = x;
|
||||||
char *y = name;
|
char *y = name;
|
||||||
|
int flag = 0;
|
||||||
|
|
||||||
/* Copy all of NAME into BUF, but put __ after
|
/* Copy all of NAME into BUF, but put __ after
|
||||||
every -D and at the end of each arg, */
|
every -D and at the end of each arg, */
|
||||||
while (1)
|
while (1)
|
||||||
{
|
{
|
||||||
int flag;
|
|
||||||
|
|
||||||
if (! strncmp (y, "-D", 2))
|
if (! strncmp (y, "-D", 2))
|
||||||
{
|
{
|
||||||
*x++ = '-';
|
*x++ = '-';
|
||||||
|
Loading…
x
Reference in New Issue
Block a user