From owner-freebsd-current Tue Mar 24 21:14:34 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id VAA07888 for freebsd-current-outgoing; Tue, 24 Mar 1998 21:14:34 -0800 (PST) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from ache.relcom.ru (ache@ache.relcom.ru [193.125.20.108]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id VAA07876 for ; Tue, 24 Mar 1998 21:14:29 -0800 (PST) (envelope-from ache@ache.relcom.ru) Received: (from ache@localhost) by ache.relcom.ru (8.8.8/8.8.8) id IAA06533; Wed, 25 Mar 1998 08:13:40 +0300 (MSK) (envelope-from ache) Message-ID: <19980325081339.47025@nagual.pp.ru> Date: Wed, 25 Mar 1998 08:13:39 +0300 From: =?koi8-r?B?4c7E0sXKIP7F0s7P1w==?= To: Tom Bartol , freebsd-current@FreeBSD.ORG Subject: Re: gcc bug in -current!!! Mail-Followup-To: Tom Bartol , freebsd-current@FreeBSD.ORG References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.89.1i In-Reply-To: ; from bartol@salk.edu on Tue, Mar 24, 1998 at 09:44:04AM -0800 Organization: Biomechanoid Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Tue, Mar 24, 1998 at 09:44:04AM -0800, Tom Bartol wrote: > > I just found and narrowed down the following bug in gcc in -current after > a cvsup and make world as of Mon Mar 23 12:14:55 PST. This bug appears to > have crept in sometime between then and Feb 14. Included below is a small I confirm this bug present. To narrow down search path, even cc from Mar 6 works fine. Here is diff from assembler code generated by old and new cc (without optimization), old first: as we see, main change is that "fildq" replaced with "fildll". 3c3 < ___gnu_compiled_c: --- > .globl ___main 5c5 < .align 2 --- > .p2align 2 10c10 < .align 2 --- > .p2align 2 24c24 < .align 2 --- > .p2align 2 43c43 < fildq (%esp) --- > fildll (%esp) 53c53 < fildq (%esp) --- > fildll (%esp) 63c63 < fildq (%esp) --- > fildll (%esp) 73c73 < fildq (%esp) --- > fildll (%esp) 107c107 < .align 2,0x90 --- > .p2align 2,0x90 115a116 > .ident "GCC: (GNU) 2.7.2.1" -- Andrey A. Chernov http://www.nagual.pp.ru/~ache/ MTH/SH/HE S-- W-- N+ PEC>+ D A a++ C G>+ QH+(++) 666+>++ Y To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message