This is the mail archive of the mailing list for the GCC project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug java/24652] New: [4.1 Regression] Segmentation fault while bytecompiling ecj

First known broken version: 4.1 SVN revision 106387
Last known working version: 4.0.1

Trying to byte-compile ecj results in a segmentation fault.

In the attached testcase (it's still relatively huge - sorry, my knowledge of
Java is limited to "it's similar to C++ without MI"), run

cd testcase
for f in `find -name '*.java' |cut -c 3-`; do
    gcj -Wno-deprecated -C $f

to reproduce the problem.

Note that just running gcj -Wno-deprecated -C on the file causing the problem
works; this appears to be related to processing .class files created by running
gcj -Wno-deprecated -C on the other files it's importing.

gcj -Wno-deprecated -C org/eclipse/jdt/internal/compiler/ast/
internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:> for instructions.

           Summary: [4.1 Regression] Segmentation fault while bytecompiling
           Product: gcc
           Version: 4.1.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: java
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: bero at arklinux dot org
 GCC build triplet: i686-pc-linux-gnu
  GCC host triplet: i686-pc-linux-gnu
GCC target triplet: i686-pc-linux-gnu

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]