From: Richard Kenner Date: Tue, 6 Jun 1995 21:57:34 +0000 (-0400) Subject: (do_spec_1, case 'g'): Handle %O as suffix if MKTEMP_EACH_FILE. X-Git-Tag: misc/cutover-egcs-0~4066 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=2e21df5a7f417ff2ef17091a39ed3c5ca6858515;p=thirdparty%2Fgcc.git (do_spec_1, case 'g'): Handle %O as suffix if MKTEMP_EACH_FILE. From-SVN: r9892 --- diff --git a/gcc/gcc.c b/gcc/gcc.c index 12cd05f3eccb..2a1d277fc107 100644 --- a/gcc/gcc.c +++ b/gcc/gcc.c @@ -3308,7 +3308,8 @@ do_spec_1 (spec, inswitch, soft_matched_part) In 2.4, do something about that. */ struct temp_name *t; char *suffix = p; - while (*p == '.' || isalpha (*p)) + while (*p == '.' || isalpha (*p) + || (p[0] == '%' && p[1] == 'O')) p++; /* See if we already have an association of %g/%u/%U and