From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 15874 invoked by alias); 4 Oct 2002 17:46:02 -0000 Mailing-List: contact gcc-prs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-prs-owner@gcc.gnu.org Received: (qmail 15852 invoked by uid 71); 4 Oct 2002 17:46:01 -0000 Resent-Date: 4 Oct 2002 17:46:01 -0000 Resent-Message-ID: <20021004174601.15851.qmail@sources.redhat.com> Resent-From: gcc-gnats@gcc.gnu.org (GNATS Filer) Resent-Cc: gcc-prs@gcc.gnu.org, gcc-bugs@gcc.gnu.org Resent-Reply-To: gcc-gnats@gcc.gnu.org, prj@po.cwru.edu Received: (qmail 15654 invoked from network); 4 Oct 2002 17:44:59 -0000 Received: from unknown (HELO multivac.cwru.edu) (129.22.96.25) by sources.redhat.com with SMTP; 4 Oct 2002 17:44:59 -0000 Received: (qmail 29406 invoked by uid 500); 4 Oct 2002 17:45:20 -0000 Message-Id: <20021004174520.29405.qmail@multivac.cwru.edu> Date: Fri, 04 Oct 2002 10:46:00 -0000 From: prj@po.cwru.edu To: gcc-gnats@gcc.gnu.org X-Send-Pr-Version: 3.113 Subject: bootstrap/8146: gcc 3.2 miscompiles gcc 2.95.3 X-SW-Source: 2002-10/txt/msg00161.txt.bz2 List-Id: >Number: 8146 >Category: bootstrap >Synopsis: gcc 3.2 miscompiles gcc 2.95.3 >Confidential: no >Severity: serious >Priority: medium >Responsible: unassigned >State: open >Class: wrong-code >Submitter-Id: net >Arrival-Date: Fri Oct 04 10:46:00 PDT 2002 >Closed-Date: >Last-Modified: >Originator: Paul Jarc >Release: 3.2 >Organization: >Environment: System: Linux multivac.cwru.edu 2.4.19 #1 SMP Mon Aug 5 11:15:13 EDT 2002 i686 unknown Architecture: i686 host: i686-pc-linux-gnu build: i686-pc-linux-gnu target: i686-pc-linux-gnu configured with: ../gcc-3.2/configure --prefix=/package/host/localhost/gcc-3.2 --with-as=/package/host/localhost/gcc-3.2/conf/as --with-ld=/package/host/localhost/gcc-3.2/conf/ld --enable-threads --enable-libgcj --disable-nls glibc 2.2.5 binutils 2.13 >Description: If I start with gcc 3.2 and try to bootstrap gcc 2.95.3, I get a bootstrap comparison failure. The documentation says that this usually indicates that the host compiler (gcc 3.2 here) miscompiled gcc (2.95.3). Bootstrap comparison failure! cccp.o differs f/data.o differs f/target.o differs make[1]: *** [compare-lean] Error 1 3.1 and 3.1.1 also fail to bootstrap 2.95.3. IIRC, 3.1 had differences only in cccp.o. I suggest adding bootstrapping old versions to the pre-release testing procedure. Having a buggy compiler is bad; having one that is buggy in such a way as to complicate downgrading to a not-known-to-me-to-be-buggy version is worse. (I was able to downgrade by doing "make install" after the failing "make bootstrap", and then using that incomplete 2.95.3 to do a successful bootstrap of a new 2.95.3.) >How-To-Repeat: Build 2.95.3 using 3.2. I think you already have the relevant source files. :) Files from my build or installation directories of 3.2 or 2.95.3 are available on request. >Fix: >Release-Note: >Audit-Trail: >Unformatted: