From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 15419 invoked by alias); 15 May 2002 06:26:01 -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 15399 invoked by uid 71); 15 May 2002 06:26:01 -0000 Resent-Date: 15 May 2002 06:26:01 -0000 Resent-Message-ID: <20020515062601.15398.qmail@sources.redhat.com> Resent-From: gcc-gnats@gcc.gnu.org (GNATS Filer) Resent-To: nobody@gcc.gnu.org Resent-Cc: gcc-prs@gcc.gnu.org, gcc-bugs@gcc.gnu.org Resent-Reply-To: gcc-gnats@gcc.gnu.org, larssj@nospam.dk Received:(qmail 12942 invoked by uid 61); 15 May 2002 06:17:55 -0000 Message-Id:<20020515061755.12941.qmail@sources.redhat.com> Date: Tue, 14 May 2002 23:26:00 -0000 From: larssj@nospam.dk Reply-To: larssj@nospam.dk To: gcc-gnats@gcc.gnu.org X-Send-Pr-Version:gnatsweb-2.9.3 (1.1.1.1.2.31) Subject: ada/6661: gcc can't bootstrap gcc with -O3 X-SW-Source: 2002-05/txt/msg00401.txt.bz2 List-Id: >Number: 6661 >Category: ada >Synopsis: gcc can't bootstrap gcc with -O3 >Confidential: no >Severity: serious >Priority: medium >Responsible: unassigned >State: open >Class: ice-on-legal-code >Submitter-Id: net >Arrival-Date: Tue May 14 23:26:01 PDT 2002 >Closed-Date: >Last-Modified: >Originator: Lars S. Jensen >Release: CVS HEAD: gcc (GCC) 3.2 20020514 (experimental) >Organization: >Environment: Linux 2.4.17-r5 Gentoo build AMD Athlon >Description: gcc -c -march=athlon -g -pipe -O3 -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wtraditional -pedantic -Wno-long-long -gnatpg -gnata -I- -I. -I../../../gcc/gcc/ada ../../../gcc/gcc/ada/tree_io.adb +===========================GNAT BUG DETECTED==============================+ | 3.1 (20020212) (i686-pc-linux-gnu) GCC error: | | RTL flag check: REG_POINTER used with unexpected rtx code `mem' in | | copy_rtx_and_substitute, at integrate.c:2063 | | Error detected at ../../../gcc/gcc/ada/tree_io.adb:612:23 | I have try it without -march=athlon and/or a gcc build with default setup -- same problem when I tries to bootstrap with -O3 Why is it saying 3.1 (20020212)? The problem have be there for more that a week! >How-To-Repeat: build gcc from CVS (20020513) ../gcc/configure --enable-languages='c,ada,c++,f77,java,objc' --enable-threads=posix --enable-long-long --disable-nls (time make bootstrap) && (cd gcc/;time make gnatlib_and_tools) or (time make CFLAGS='-march=athlon -pipe -O2' STAGE1_CFLAGS='-march=athlon -pipe -O2' BOOT_CFLAGS='-march=athlon -pipe -O2' bootstrap ) && (cd gcc/;time make CFLAGS='-march=athlon -pipe -O2' STAGE1_CFLAGS='-march=athlon -pipe -O2' GNATLIBCFLAGS='-march=athlon -pipe -O2' BOOT_CFLAGS='-march=athlon -pipe -O2' gnatlib_and_tools) and rebuild it with -O3 ../gcc/configure --enable-languages='c,ada,c++,f77,java,objc' --enable-threads=posix --enable-long-long --disable-nls --prefix=/home/lasj/Test1 (time make CFLAGS='-V -O3' STAGE1_CFLAGS='-O3' BOOT_CFLAGS='-O3' bootstrap ) && (cd gcc/;time make CFLAGS='-O3' STAGE1_CFLAGS='-O3' GNATLIBCFLAGS='-O3' BOOT_CFLAGS='-O3' gnatlib_and_tools) or (time make CFLAGS='-march=athlon -g -pipe -O3' STAGE1_CFLAGS='-march=athlon -g -pipe -O3' BOOT_CFLAGS='-march=athlon -g -pipe -O3' bootstrap ) && (cd gcc/;time make CFLAGS='-march=athlon -g -pipe -O3' STAGE1_CFLAGS='-march=athlon -g -pipe -O3' GNATLIBCFLAGS='-march=athlon -pipe -g -O3' BOOT_CFLAGS='-march=athlon -pipe -g -O3' gnatlib_and_tools) >Fix: >Release-Note: >Audit-Trail: >Unformatted: