trying to bootstrap ecj using gcj-4.1, without having ant available for
bootstrap purposes:

for f in $(find build/bin -name '*.java'); do \
    echo $f; \
    gcj-4.1 -d build/bin -C -g \
        -Ibuild/bin \
        $f; \
done

fails to build about 20 classes, each segfaulting with:

build/bin/org/eclipse/jdt/internal/compiler/ast/AbstractMethodDeclaration.java:440:
internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.

the line number references the line after EOF (i.e.
AbstractMethodDeclaration.java has 439 lines)

ignoring the errors in the first loop, and then rerunning the loop without
removing already built class files, the compilation succeeds for all files.


-- 
           Summary: [4.1 regression] ICE's when building the ecj compiler
                    3.1.1
           Product: gcc
           Version: 4.1.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: java
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: debian-gcc at lists dot debian dot org


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

Reply via email to