* gcc.c: (do_spec_1): Fix obvious typo.
authorMarc Espie <Marc.Espie@openbsd.org>
Sat, 16 Jan 1999 20:53:24 +0000 (20:53 +0000)
committerJeff Law <law@gcc.gnu.org>
Sat, 16 Jan 1999 20:53:24 +0000 (13:53 -0700)
From-SVN: r24705

gcc/ChangeLog
gcc/gcc.c

index 02e5d2cbfe88810283eb800c202b8710a47eb2ae..3b79eb0f6d305d609be8fb978ac607c920c7e84b 100644 (file)
@@ -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  <ghazi@caip.rutgers.edu>
 
        * c-decl.c (duplicate_decls): If `warn_traditional', warn when
index 03bfa1f86daf10d1f11ed0fa0b179889dae0d0d8..79ad1c38527a071928c86538be9a8114152d2e9c 100644 (file)
--- 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
                  {