From owner-freebsd-hackers Sat May 18 20:09:38 1996 Return-Path: owner-hackers Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id UAA02783 for hackers-outgoing; Sat, 18 May 1996 20:09:38 -0700 (PDT) Received: from xs1.simplex.nl (xs1.simplex.NL [193.78.46.10]) by freefall.freebsd.org (8.7.3/8.7.3) with ESMTP id UAA02777 for ; Sat, 18 May 1996 20:09:36 -0700 (PDT) X-Organisation-1: Simplex Networking Amsterdam X (Inter)Network X-Organisation-2: Kruislaan 419-38a 1098 VA Amsterdam X Solutions & X-Organisation-3: tel:+31(20)-6932433 fax:+31(20)-6685486 X Access Provider Received: (from uucp@localhost) by xs1.simplex.nl (8.7.5/8.7.3-RS) with UUCP id FAA06526 for freebsd-hackers@freebsd.org; Sun, 19 May 1996 05:09:34 +0200 (MET DST) Received: (from plm@localhost) by plm.simplex.nl (8.7.5/8.7.3) id JAA16089; Sat, 18 May 1996 09:47:28 +0200 (MET DST) To: freebsd-hackers@freebsd.org Subject: Re: internal compiler error References: <87k9ybxkdu.fsf@totally-fudged-out-message-id> From: Peter Mutsaers Date: 18 May 1996 09:47:24 +0200 In-Reply-To: Thomas Sparrevohn's message of Fri, 17 May 1996 08:42:59 +0200 (MET DST) Message-ID: <87bujmo22a.fsf@plm.simplex.nl> Lines: 30 X-Mailer: September Gnus v0.85/Emacs 19.30 Sender: owner-hackers@freebsd.org X-Loop: FreeBSD.org Precedence: bulk >> On Fri, 17 May 1996 08:42:59 +0200 (MET DST), Thomas Sparrevohn >> said: TS> On Thu, 16 May 1996, Nate Williams wrote: >> >> Hmm, it works fine under -stable with 2.6.3. >> TS> But unfortunately our gcc gives an internal error when it compiles the TS> following program with "-O" and "-O2" but not "-O3" and with out TS> optimizations: TS> /* TS> * Compilation of the following program with gcc -O (v2.6.3 on FreeBSD 2.1.0) TS> * and (v2.6.3 current) yields: TS> * TS> * gcc: Internal compiler error: program cc1 got fatal signal 10 TS> * TS> */ There have been more bugs that appear with -O, but not with -O3. By the way, pgcc (2.7.2.9) does not cause an internal compiler error, and generates correct code (tested by using create_light() in a little program). -- ______________________________________________________________________ Peter Mutsaers | Abcoude (Utrecht), | "Quod licet bovis, plm@simplex.nl | the Netherlands | non licet Jovi."