]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
(do_spec_1, case 'g'): Handle %O as suffix if MKTEMP_EACH_FILE.
authorRichard Kenner <kenner@gcc.gnu.org>
Tue, 6 Jun 1995 21:57:34 +0000 (17:57 -0400)
committerRichard Kenner <kenner@gcc.gnu.org>
Tue, 6 Jun 1995 21:57:34 +0000 (17:57 -0400)
From-SVN: r9892

gcc/gcc.c

index 12cd05f3eccb53b16b1d7b2e701c9d0299165170..2a1d277fc107c1ef811c028827f0d48934d370bb 100644 (file)
--- 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