bootstrap failure on sun sparc in fixproto
Zack Weinberg
zack@wolery.cumb.org
Mon Apr 17 19:44:00 GMT 2000
On Tue, Apr 18, 2000 at 12:58:38AM -0000, Billinghurst, David (CRTS) wrote:
> Same problem with 0417 snapshot on mips-sgi-irix6.5
I am testing a patch for this bug right now.
This may suffice to get you back a working tree (it'll be offset):
===================================================================
Index: cpphash.c
--- cpphash.c 2000/04/14 23:29:44 1.66
+++ cpphash.c 2000/04/18 02:43:26
@@ -983,8 +987,13 @@ _cpp_macroexpand (pfile, hp)
register int i;
ip = cpp_file_buffer (pfile);
- start_line = CPP_BUF_LINE (ip);
- start_column = CPP_BUF_COL (ip);
+ if (ip)
+ {
+ start_line = CPP_BUF_LINE (ip);
+ start_column = CPP_BUF_COL (ip);
+ }
+ else
+ start_line = start_column = 0;
/* Check for and handle special symbols. */
if (hp->type != T_MACRO)
but it is not a complete fix.
zw
More information about the Gcc-bugs
mailing list