This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug java/24652] New: [4.1 Regression] Segmentation fault while bytecompiling ecj
- From: "bero at arklinux dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 3 Nov 2005 09:22:05 -0000
- Subject: [Bug java/24652] New: [4.1 Regression] Segmentation fault while bytecompiling ecj
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
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
done
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/ASTNode.java
./org/eclipse/jdt/internal/compiler/lookup/SourceTypeBinding.java:1267:
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.
--
Summary: [4.1 Regression] Segmentation fault while bytecompiling
ecj
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
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24652