MKTEMP_EACH_FILE buglet
Marc Espie
Marc.Espie@liafa.jussieu.fr
Thu Jan 14 19:34:00 GMT 1999
Okay, after carefully reading what %[guU]%O is supposed to do
(how about putting a note in gcc.texi saying that gcc.c is the place
to look for gcc specs ?), I came up with the following obvious patch
for the MKTEMP_EACH_FILE bogus code:
Tue Jan 12 00:57:05 MET 1999 Marc Espie (Marc.Espie@openbsd.org)
* gcc.c: (do_spec_1): Fix obvious typo.
--- gcc/gcc.c.orig Tue Jan 12 00:49:22 1999
+++ gcc/gcc.c Tue Jan 12 00:56:31 1999
@@ -1,5 +1,5 @@
/* Compiler driver program that can handle many languages.
- Copyright (C) 1987, 89, 92-97, 1998 Free Software Foundation, Inc.
+ Copyright (C) 1987, 89, 92-97, 1998, 1999 Free Software Foundation, Inc.
This file is part of GNU CC.
@@ -3630,12 +3630,12 @@
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
{
--
Marc Espie
|anime, sf, juggling, unicycle, acrobatics, comics...
|AmigaOS, OpenBSD, C++, perl, Icon, PostScript...
| `real programmers don't die, they just get out of beta'
More information about the Gcc-patches
mailing list