Path: utzoo!utgpu!watmath!uunet!tut.cis.ohio-state.edu!brutus.cs.uiuc.edu!flute.cs.uiuc.edu!grunwald From: grunwald@flute.cs.uiuc.edu (Dirk Grunwald) Newsgroups: gnu.g++.bug Subject: Re: bug in collect.c COFF support Message-ID: Date: 2 Aug 89 03:18:36 GMT References: <4089@orca.WV.TEK.COM> Sender: news@brutus.cs.uiuc.edu Reply-To: grunwald@flute.cs.uiuc.edu Organization: University of Illinois, Urbana-Champaign Lines: 34 In-reply-to: andrew@frip.WV.TEK.COM's message of 1 Aug 89 23:28:53 GMT argle - sorry about that. As a side note, I wonder if other people have noticed a problem with collect when you use -g0 on COFF systems; an old (I think 1.35 had it, because I had to re-find the bug) sdbout.c in g++ produced negative sizes for certain structs; this caused COFF on the Encore multimax. to barf. Do other people have this problem? I've fixed sdbout.c & the patches will be in 1.36, but I'm wondering if this is somethat that should be reported to Encore as well. here's a patch for MDT. *** collect.c Tue Aug 1 22:14:04 1989 --- collect.c.orig Tue Aug 1 22:13:47 1989 *************** *** 258,264 **** FILE *fp; char *filename; { ! LDFILE *ldptr = NULL; do { if ((ldptr = ldopen(filename, ldptr)) != NULL ) { --- 258,264 ---- FILE *fp; char *filename; { ! LDFILE *ldptr; do { if ((ldptr = ldopen(filename, ldptr)) != NULL ) { -- Dirk Grunwald -- Univ. of Illinois (grunwald@flute.cs.uiuc.edu)