Thread View: gnu.gcc.bug
1 messages
1 total messages
Started by Marc Horowitz
Sun, 10 Jan 1993 00:03
["Mark W. Eichin": gcc diff]
Author: Marc Horowitz
Date: Sun, 10 Jan 1993 00:03
Date: Sun, 10 Jan 1993 00:03
43 lines
1816 bytes
1816 bytes
(if this looks like a duplicate, it's not. Ignore the previous one.)
Here is a patch to make "gcc -E -" work. It's relative to a version
of gcc.c provided to me by eichin@cygnus.com. I think he said it was
from the 930101 snapshot. Anyway, it's pretty straightforward.
Thanks.
Marc
*** gcc.c.fsf Sat Jan 2 20:26:13 1993
- --- gcc.c Sat Jan 2 20:47:03 1993
***************
*** 3632,3643 ****
/* Look for a suffix. */
for (cp = compilers + n_compilers - 1; cp >= compilers; cp--)
{
! if (strlen (cp->suffix) < length
/* See if the suffix matches the end of NAME. */
&& !strcmp (cp->suffix,
! name + length - strlen (cp->suffix))
! /* The suffix `-' matches only the file name `-'. */
! && !(!strcmp (cp->suffix, "-") && length != 1))
{
if (cp->spec[0][0] == '@')
{
- --- 3632,3643 ----
/* Look for a suffix. */
for (cp = compilers + n_compilers - 1; cp >= compilers; cp--)
{
! if ((strlen (cp->suffix) < length
/* See if the suffix matches the end of NAME. */
&& !strcmp (cp->suffix,
! name + length - strlen (cp->suffix)))
! /* The suffix `-' matches only the file name `-'. */
! || (!strcmp (cp->suffix, "-") && !strcmp (name, "-")))
{
if (cp->spec[0][0] == '@')
{
------- End of Forwarded Message
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads