[Bug java/55764] New: [4.8 Regression] ICE when building frysk

jakub at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Thu Dec 20 16:54:00 GMT 2012


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55764

             Bug #: 55764
           Summary: [4.8 Regression] ICE when building frysk
    Classification: Unclassified
           Product: gcc
           Version: 4.8.0
            Status: UNCONFIRMED
          Keywords: error-recovery
          Severity: normal
          Priority: P3
         Component: java
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: jakub@gcc.gnu.org
                CC: aph@gcc.gnu.org


./jc1 jdom.jar -fhash-synchronization -fno-use-divide-subroutine \
-fuse-boehm-gc -fnon-call-exceptions -fkeep-inline-functions -quiet -g -O \
-o /tmp/jdom.s -fbootclasspath=../i686-pc-linux-gnu/libjava/libgcj-4.8.0.jar

gives:
In file included from org/jdom/transform/XSLTransformer.java:289:0,
                 from org/jdom/transform/XSLTransformException.java:81,
...
                 from org/jdom/Attribute.java:728,
                 from <built-in>:5:
org/jdom/xpath/JaxenXPath.java:0:0: error: cannot find file for class
org.jaxen.SimpleNamespaceContext
org/jdom/xpath/JaxenXPath.java:0:0: error: cannot find file for class
org.jaxen.SimpleNamespaceContext
org/jdom/xpath/JaxenXPath.java: In class 'org.jdom.xpath.JaxenXPath$NSContext':
org/jdom/xpath/JaxenXPath.java: In constructor '(org.jdom.xpath.JaxenXPath)':
In file included from org/jdom/transform/XSLTransformer.java:289:0,
                 from org/jdom/transform/XSLTransformException.java:81,
...
                 from org/jdom/Attribute.java:728,
                 from <built-in>:5:
org/jdom/xpath/JaxenXPath.java:309:0: internal compiler error: in operator[],
at vec.h:816
0x81b0d7c vec<tree_node*, va_gc, vl_embed>::operator[](unsigned int)
        ../../gcc/vec.h:816
0x81b0d7c class_depth(tree_node*)
        ../../gcc/java/class.c:577
0x81d435d can_widen_reference_to(tree_node*, tree_node*)
        ../../gcc/java/expr.c:546
0x81e9f93 vfy_is_assignable_from(tree_node*, tree_node*)
        ../../gcc/java/verify-glue.c:227
0x81ebd2b ref_compatible
        ../../gcc/java/verify-impl.c:376
0x81ebd2b types_compatible
        ../../gcc/java/verify-impl.c:686 0x81ed1e1 verify_instructions_0
...

Frysk probably doesn't build even with older gcj and dunno why we still have it
in the distro at all, so the errors aren't a big deal, but the ICE shouldn't
happen.



More information about the Java-prs mailing list