6005 – gcj fails to build rhug on alpha (original) (raw)

Description Tom Tromey 2002-03-19 09:46:02 UTC

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.

Release: gcj (GCC) 3.1 20020318 (prerelease)

Environment: alphaev67-unknown-linux-gnu

Comment 1 Tom Tromey 2002-03-19 09:46:02 UTC

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.

Comment 2 Tom Tromey 2002-08-21 17:44:29 UTC

Responsible-Changed-From-To: unassigned->tromey Responsible-Changed-Why: I'm handling this.

Comment 3 Tom Tromey 2002-08-21 17:44:29 UTC

State-Changed-From-To: open->closed State-Changed-Why: I checked in the fix