Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 3 Jul 1997 08:47:25 -0500 (CDT)
From:      "M. L. Dodson" <>
To:        freebsd-questions@FreeBSD.ORG,
Subject:   Re: weird gcc error?
Message-ID:  <>

Next in thread | Raw E-Mail | Index | Archive | Help

Don't know if this is the cause of your problem, but I had the
identical problem on a Sun at work.  Turned out to be a bad RAM

Bud Dodson

> I've been having some weird problems with GCC lately.  This is on a
> stock FreeBSD 2.2.2 system.  The GCC version is  I usually
> compile with "-O2 -m486"  The machine is a clone 486DX2/66 I slapped
> together out of spare parts.
> Anyway, here is the problem:  When compiling large programs, the
> compile sometimes stops with an error.  usually the error is something
> like "parse error before '}'" but I remember one time when it was
> something else (can't remember what the error was at that time,
> though).  The weird thing is, there IS no error (when I read the file,
> it looks like perfectly good C syntax to me), and, if I run 'make' and
> recompile that file WITHOUT CHANGING IT, it works fine!
> Other than this, the machine is working perfectly.  I often have it up
> and doing stuff for hours, sometimes days at a time, and there haven't
> been any other errors to speak of.
> So is this a gcc bug?  Is anyone else having this type of trouble?  Is
> there a patch for it?
> Please let me know, pref. by email.  Thanks!
> -- 
> Donald Burr <> - Ask me for my PGP key | PGP: Your
> WWW HomePage:  ICQ #1347455 | right to
> Address: P.O. Box 91212, Santa Barbara, CA 93190-1212   | 'Net privacy.
> Phone: (805) 564-1871    FAX: (800) 492-5954            | USE IT.

M. L. Dodson                      
409-772-2178                                FAX: 409-772-1790

Want to link to this message? Use this URL: <>