From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 24266 invoked by alias); 19 Mar 2002 17:46:08 -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 24190 invoked by uid 71); 19 Mar 2002 17:46:05 -0000 Resent-Date: 19 Mar 2002 17:46:05 -0000 Resent-Message-ID: <20020319174605.24186.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, java-prs@gcc.gnu.org Resent-Reply-To: gcc-gnats@gcc.gnu.org, tromey@redhat.com Received:(qmail 19685 invoked by uid 61); 19 Mar 2002 17:41:12 -0000 Message-Id:<20020319174112.19679.qmail@sources.redhat.com> Date: Tue, 19 Mar 2002 09:46:00 -0000 From: tromey@redhat.com Reply-To: tromey@redhat.com To: gcc-gnats@gcc.gnu.org X-Send-Pr-Version:gnatsweb-2.9.3 (1.1.1.1.2.31) Subject: java/6005: gcj fails to build rhug on alpha X-SW-Source: 2002-03/txt/msg00724.txt.bz2 List-Id: >Number: 6005 >Category: java >Synopsis: gcj fails to build rhug on alpha >Confidential: no >Severity: serious >Priority: medium >Responsible: unassigned >State: open >Class: sw-bug >Submitter-Id: net >Arrival-Date: Tue Mar 19 09:46:02 PST 2002 >Closed-Date: >Last-Modified: >Originator: Tom Tromey >Release: gcj (GCC) 3.1 20020318 (prerelease) >Organization: >Environment: alphaev67-unknown-linux-gnu >Description: gcj fails to build rhug on the alpha. This is the error: gcj -C --encoding=8859_1 --classpath=upstream/src:../../rhug/xerces/upstream/src -O2 -d upstream/src ../../rhug/xerces/upstream/src/org/apache/xerces/validators/common/CMStateSet.java ../../rhug/xerces/upstream/src/org/apache/xerces/validators/common/CMStateSet.java: In class `org.apache.xerces.validators.common.CMStateSet': ../../rhug/xerces/upstream/src/org/apache/xerces/validators/common/CMStateSet.java: In method `org.apache.xerces.validators.common.CMStateSet.isEmpty()': ../../rhug/xerces/upstream/src/org/apache/xerces/validators/common/CMStateSet.java:180: internal error in generate_bytecode_insn - tree code not implemented: bit_field_ref ../../rhug/xerces/upstream/src/org/apache/xerces/validators/common/CMStateSet.java:180: confused by earlier errors, bailing out The problem is that fold() generates a bit field operation as an optimization. >How-To-Repeat: >Fix: We could either turn the bit field operations back into something we understand (hard) or write our own fold() that doesn't perform these optimizations, or change fold() so that it doesn't do these operations when -C is in use. >Release-Note: >Audit-Trail: >Unformatted: