From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 1000 invoked by alias); 30 May 2002 11:36:05 -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 914 invoked by uid 71); 30 May 2002 11:36:03 -0000 Resent-Date: 30 May 2002 11:36:03 -0000 Resent-Message-ID: <20020530113603.913.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, marduk@mandatory.net Resent-Reply-To: gcc-gnats@gcc.gnu.org, Stefan.Becker@nokia.com Received:(qmail 26852 invoked by uid 61); 30 May 2002 11:28:46 -0000 Message-Id:<20020530112845.26850.qmail@sources.redhat.com> Date: Thu, 30 May 2002 04:49:00 -0000 From: Stefan.Becker@nokia.com Reply-To: Stefan.Becker@nokia.com To: gcc-gnats@gcc.gnu.org Cc: marduk@mandatory.net X-Send-Pr-Version:gnatsweb-2.9.3 (1.1.1.1.2.31) X-GNATS-Notify:marduk@mandatory.net Subject: target/6867: GCC 3.1 bootstrap fails for HPPA with -march=2.0 X-SW-Source: 2002-05/txt/msg00984.txt.bz2 List-Id: >Number: 6867 >Category: target >Synopsis: GCC 3.1 bootstrap fails for HPPA with -march=2.0 >Confidential: no >Severity: serious >Priority: medium >Responsible: unassigned >State: open >Class: ice-on-legal-code >Submitter-Id: net >Arrival-Date: Thu May 30 04:36:02 PDT 2002 >Closed-Date: >Last-Modified: >Originator: Stefan Becker >Release: 3.1 >Organization: >Environment: hppa2.0-hp-hpux11.11 >Description: During the bootstrap the generated stage1 and stage2 compiler fail on the following modules: gcc/global.c: stage1/xgcc -Bstage1/ -B/disks/gsm_ui/software/hppa2.0-hp-hpux11.11/hppa2.0-hp-hpux11.11/bin/ -c -DIN_GCC -g -O2 -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wtraditional -pedantic -Wno-long-long -DHAVE_CONFIG_H -I. -I. -I../../../../src/gcc-3.1/gcc -I../../../../src/gcc-3.1/gcc/. -I../../../../src/gcc-3.1/gcc/config -I../../../../src/gcc-3.1/gcc/../include ../../../../src/gcc-3.1/gcc/global.c -o global.o ../../../../src/gcc-3.1/gcc/global.c: In function `expand_preferences': ../../../../src/gcc-3.1/gcc/global.c:882: insn does not satisfy its constraints: (insn 807 805 162 (set (reg:SI 72 %fr24) (mem/f:SI (lo_sum:SI (reg/f:SI 9 %r9 [156]) (symbol_ref:SI ("allocno_row_words"))) [2 allocno_row_words+0 S4 A32])) 68 {*pa.md:2088} (nil) (nil)) ../../../../src/gcc-3.1/gcc/global.c:882: Internal compiler error in reload_cse_simplify_operands, at reload1.c:8368 gcc/sched-rgn.c: stage1/xgcc -Bstage1/ -B/disks/gsm_ui/software/hppa2.0-hp-hpux11.11/hppa2.0-hp-hpux11.11/bin/ -c -DIN_GCC -g -O2 -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wtraditional -pedantic -Wno-long-long -DHAVE_CONFIG_H -I. -I. -I../../../../src/gcc-3.1/gcc -I../../../../src/gcc-3.1/gcc/. -I../../../../src/gcc-3.1/gcc/config -I../../../../src/gcc-3.1/gcc/../include ../../../../src/gcc-3.1/gcc/sched-rgn.c -o sched-rgn.o ../../../../src/gcc-3.1/gcc/sched-rgn.c: In function `init_ready_list': ../../../../src/gcc-3.1/gcc/sched-rgn.c:2078: insn does not satisfy its constraints: (insn 836 834 106 (set (reg:SI 69 %fr22R) (mem/f:SI (lo_sum:SI (reg/f:SI 5 %r5 [142]) (symbol_ref:SI ("rgn_nr_edges"))) [3 rgn_nr_edges+0 S4 A32])) 68 {*pa.md:2088} (nil) (nil)) ../../../../src/gcc-3.1/gcc/sched-rgn.c:2078: Internal compiler error in reload_cse_simplify_operands, at reload1.c:8368 gcc/f/data.c: stage1/xgcc -Bstage1/ -B/disks/gsm_ui/software/hppa2.0-hp-hpux11.11/hppa2.0-hp-hpux11.11/bin/ -c -DIN_GCC -g -O2 -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -DHAVE_CONFIG_H -I. -If -I../../../../src/gcc-3.1/gcc -I../../../../src/gcc-3.1/gcc/f -I../../../../src/gcc-3.1/gcc/config -I../../../../src/gcc-3.1/gcc/../include ../../../../src/gcc-3.1/gcc/f/data.c -o f/data.o ../../../../src/gcc-3.1/gcc/f/data.c: In function `ffedata_advance_': ../../../../src/gcc-3.1/gcc/f/data.c:655: insn does not satisfy its constraints: (insn 2674 552 571 (set (reg:DI 72 %fr24 [327]) (mem/f:DI (lo_sum:SI (reg/f:SI 5 %r5 [865]) (symbol_ref:SI ("ffedata_arraysize_"))) [28 ffedata_arraysize_+0 S8 A64])) 118 {*pa.md:3087} (nil) (nil)) ../../../../src/gcc-3.1/gcc/f/data.c:655: Internal compiler error in reload_cse_simplify_operands, at reload1.c:8368 The modules compile fine when I remove the "-O2" from the command line. >How-To-Repeat: I wanted to create a GCC which generats PA2.0 code as default. I studied the configuration and modified in gcc/config.gcc hppa1.1-*-hpux11* | hppa2*-*-hpux11*) target_cpu_default="MASK_PA_11" to hppa1.1-*-hpux11* | hppa2*-*-hpux11*) target_cpu_default="(MASK_PA_11|MASK_PA_20)" After that I ran the configure & make bootstrap-lean. To verify the problem I bootstrapped GCC 3.1 without any changes, ie. it will generate PA1.1 code. After the bootstrap was complete I compiled the 3 modules with "-march=2.0" and got the same error message. >Fix: >Release-Note: >Audit-Trail: >Unformatted: