public inbox for java-prs@sourceware.org help / color / mirror / Atom feed
* [Bug java/30574] New: compiling JDK 1.4 bytecode with inner classes fails @ 2007-01-24 14:01 mtrudel at gmx dot ch 2007-01-24 14:03 ` [Bug java/30574] " mtrudel at gmx dot ch ` (3 more replies) 0 siblings, 4 replies; 5+ messages in thread From: mtrudel at gmx dot ch @ 2007-01-24 14:01 UTC (permalink / raw) To: java-prs Compiling the bytecode of a class with an inner class that was compiled with a Sun JDK 1.4 fails: $ gcj4.3 -c *.class -o test.o FailingClass.java:0: 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. But "gcj4.2 -c *.class -o test.o" works, so I guess this is a regression. It works when the class is compiled with GCJ itself or a Sun JDK 1.5 or 1.6... -- Summary: compiling JDK 1.4 bytecode with inner classes fails Product: gcc Version: 4.3.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: java AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: mtrudel at gmx dot ch GCC build triplet: all GCC host triplet: all GCC target triplet: all http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30574 ^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug java/30574] compiling JDK 1.4 bytecode with inner classes fails 2007-01-24 14:01 [Bug java/30574] New: compiling JDK 1.4 bytecode with inner classes fails mtrudel at gmx dot ch @ 2007-01-24 14:03 ` mtrudel at gmx dot ch 2007-01-24 14:05 ` mtrudel at gmx dot ch ` (2 subsequent siblings) 3 siblings, 0 replies; 5+ messages in thread From: mtrudel at gmx dot ch @ 2007-01-24 14:03 UTC (permalink / raw) To: java-prs ------- Comment #1 from mtrudel at gmx dot ch 2007-01-24 14:03 ------- Created an attachment (id=12947) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=12947&action=view) The source of the simple class... -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30574 ^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug java/30574] compiling JDK 1.4 bytecode with inner classes fails 2007-01-24 14:01 [Bug java/30574] New: compiling JDK 1.4 bytecode with inner classes fails mtrudel at gmx dot ch 2007-01-24 14:03 ` [Bug java/30574] " mtrudel at gmx dot ch @ 2007-01-24 14:05 ` mtrudel at gmx dot ch 2007-01-24 16:35 ` tromey at gcc dot gnu dot org 2007-01-24 18:43 ` tromey at gcc dot gnu dot org 3 siblings, 0 replies; 5+ messages in thread From: mtrudel at gmx dot ch @ 2007-01-24 14:05 UTC (permalink / raw) To: java-prs ------- Comment #2 from mtrudel at gmx dot ch 2007-01-24 14:05 ------- Created an attachment (id=12948) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=12948&action=view) The bytecode from a Sun JDK 1.4. Compiling this with a 4.3 gcj fails... -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30574 ^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug java/30574] compiling JDK 1.4 bytecode with inner classes fails 2007-01-24 14:01 [Bug java/30574] New: compiling JDK 1.4 bytecode with inner classes fails mtrudel at gmx dot ch 2007-01-24 14:03 ` [Bug java/30574] " mtrudel at gmx dot ch 2007-01-24 14:05 ` mtrudel at gmx dot ch @ 2007-01-24 16:35 ` tromey at gcc dot gnu dot org 2007-01-24 18:43 ` tromey at gcc dot gnu dot org 3 siblings, 0 replies; 5+ messages in thread From: tromey at gcc dot gnu dot org @ 2007-01-24 16:35 UTC (permalink / raw) To: java-prs -- tromey at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Ever Confirmed|0 |1 Last reconfirmed|0000-00-00 00:00:00 |2007-01-24 16:35:26 date| | http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30574 ^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug java/30574] compiling JDK 1.4 bytecode with inner classes fails 2007-01-24 14:01 [Bug java/30574] New: compiling JDK 1.4 bytecode with inner classes fails mtrudel at gmx dot ch ` (2 preceding siblings ...) 2007-01-24 16:35 ` tromey at gcc dot gnu dot org @ 2007-01-24 18:43 ` tromey at gcc dot gnu dot org 3 siblings, 0 replies; 5+ messages in thread From: tromey at gcc dot gnu dot org @ 2007-01-24 18:43 UTC (permalink / raw) To: java-prs ------- Comment #3 from tromey at gcc dot gnu dot org 2007-01-24 18:42 ------- Andrew fixed this: 2007-01-24 Andrew Haley <aph@redhat.com> * jcf-parse.c (HANDLE_SYNTHETIC_ATTRIBUTE): current_class is a type node, not a decl, so use TYPE_SYNTHETIC not CLASS_SYNTHETIC. -- tromey at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED Target Milestone|--- |4.3.0 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30574 ^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2007-01-24 18:43 UTC | newest] Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2007-01-24 14:01 [Bug java/30574] New: compiling JDK 1.4 bytecode with inner classes fails mtrudel at gmx dot ch 2007-01-24 14:03 ` [Bug java/30574] " mtrudel at gmx dot ch 2007-01-24 14:05 ` mtrudel at gmx dot ch 2007-01-24 16:35 ` tromey at gcc dot gnu dot org 2007-01-24 18:43 ` tromey at gcc dot gnu dot org
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).