aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorRichard Kenner <kenner@gcc.gnu.org>1995-06-06 17:57:34 -0400
committerRichard Kenner <kenner@gcc.gnu.org>1995-06-06 17:57:34 -0400
commit2e21df5a7f417ff2ef17091a39ed3c5ca6858515 (patch)
tree470669bb4428eb954852d967b5d8321778e6e039 /gcc
parent015892ee4a10510c04efc387f78800f53b93f09e (diff)
downloadgcc-2e21df5a7f417ff2ef17091a39ed3c5ca6858515.zip
gcc-2e21df5a7f417ff2ef17091a39ed3c5ca6858515.tar.gz
gcc-2e21df5a7f417ff2ef17091a39ed3c5ca6858515.tar.bz2
(do_spec_1, case 'g'): Handle %O as suffix if MKTEMP_EACH_FILE.
From-SVN: r9892
Diffstat (limited to 'gcc')
-rw-r--r--gcc/gcc.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/gcc/gcc.c b/gcc/gcc.c
index 12cd05f..2a1d277 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