From owner-freebsd-questions Thu Jul 3 00:25:18 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id AAA25894 for questions-outgoing; Thu, 3 Jul 1997 00:25:18 -0700 (PDT) Received: from mail.inreach.com (mail.inreach.com [205.138.224.216]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id AAA25888 for ; Thu, 3 Jul 1997 00:25:16 -0700 (PDT) Received: from ncc-1701-d.starfleet.gov (ppp6222.la.inreach.net [199.107.160.222]) by mail.inreach.com (8.8.6/8.8.6/(InReach)) with SMTP id AAA18514 for ; Thu, 3 Jul 1997 00:25:10 -0700 (PDT) From: dburr@POBoxes.com (Donald Burr) To: freebsd-questions@freebsd.org Subject: weird gcc error? Date: Thu, 03 Jul 1997 07:21:01 GMT Organization: InReach Internet Communications Reply-To: dburr@POBoxes.com Message-ID: <33bb4d09.2670126@mail.inreach.com> X-Mailer: Forte Agent 1.01/32.397 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by hub.freebsd.org id AAA25890 Sender: owner-questions@freebsd.org X-Loop: FreeBSD.org Precedence: bulk I've been having some weird problems with GCC lately. This is on a stock FreeBSD 2.2.2 system. The GCC version is 2.7.2.1. 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: http://DonaldBurr.base.org/ 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.