From cbc546653d403b78ecab4ad44945ca5ba0c588e2 Mon Sep 17 00:00:00 2001 From: Marc Espie Date: Sat, 16 Jan 1999 20:53:24 +0000 Subject: [PATCH] * gcc.c: (do_spec_1): Fix obvious typo. From-SVN: r24705 --- gcc/ChangeLog | 4 ++++ gcc/gcc.c | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 02e5d2cbfe8..3b79eb0f6d3 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +Sat Jan 16 21:48:17 1999 Marc Espie (Marc.Espie@openbsd.org) + + * gcc.c: (do_spec_1): Fix obvious typo. + Sat Jan 16 19:31:07 1999 Kaveh R. Ghazi * c-decl.c (duplicate_decls): If `warn_traditional', warn when diff --git a/gcc/gcc.c b/gcc/gcc.c index 03bfa1f86da..79ad1c38527 100644 --- a/gcc/gcc.c +++ b/gcc/gcc.c @@ -3628,12 +3628,12 @@ do_spec_1 (spec, inswitch, soft_matched_part) if (p[0] == '%' && p[1] == 'O') { + p += 2; /* We don't support extra suffix characters after %O. */ if (*p == '.' || ISALPHA ((unsigned char)*p)) abort (); suffix = OBJECT_SUFFIX; suffix_length = strlen (OBJECT_SUFFIX); - p += 2; } else { -- 2.30.2