public inbox for java-prs@sourceware.org help / color / mirror / Atom feed
* [Bug java/20362] New: ICE: bus error if missed interface used in abstract class and output file specified @ 2005-03-07 17:11 bojan at antonovic dot com 2005-03-07 17:11 ` [Bug java/20362] " bojan at antonovic dot com ` (4 more replies) 0 siblings, 5 replies; 6+ messages in thread From: bojan at antonovic dot com @ 2005-03-07 17:11 UTC (permalink / raw) To: java-prs Class C is abstract and implements interface I. Class Bugtest has main() and imports C. All are in a different package hierarchy levels (see code). crashing: gcj -o bugtest --main=BugTest *.class */*.class working: gcj -o bugtest --main=BugTest *.class gcj -o bugtest --main=BugTest *.class */*.class */*/*.class gcj --main=BugTest *.class gcj --main=BugTest *.class */*.class */*/*.class correctly complaining: gcj --main=BugTest *.class */*.class /usr/bin/ld: Undefined symbols: foo::deepfoo::I::class$ collect2: ld returned 1 exit status source codes: 1. I.java: package foo.deepfoo; public interface I { } 2. C.java: package foo; import foo.deepfoo.I; public abstract class C implements I { } 3. import foo.C; public class BugTest { public static void main (String args[]) { } } -- Summary: ICE: bus error if missed interface used in abstract class and output file specified Product: gcc Version: 3.4.3 Status: UNCONFIRMED Severity: normal Priority: P2 Component: java AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: bojan at antonovic dot com CC: gcc-bugs at gcc dot gnu dot org,java-prs at gcc dot gnu dot org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20362 ^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug java/20362] ICE: bus error if missed interface used in abstract class and output file specified 2005-03-07 17:11 [Bug java/20362] New: ICE: bus error if missed interface used in abstract class and output file specified bojan at antonovic dot com @ 2005-03-07 17:11 ` bojan at antonovic dot com 2005-03-08 9:56 ` bojan at antonovic dot com ` (3 subsequent siblings) 4 siblings, 0 replies; 6+ messages in thread From: bojan at antonovic dot com @ 2005-03-07 17:11 UTC (permalink / raw) To: java-prs ------- Additional Comments From bojan at antonovic dot com 2005-03-07 17:06 ------- Created an attachment (id=8351) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=8351&action=view) source code in tbz. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20362 ^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug java/20362] ICE: bus error if missed interface used in abstract class and output file specified 2005-03-07 17:11 [Bug java/20362] New: ICE: bus error if missed interface used in abstract class and output file specified bojan at antonovic dot com 2005-03-07 17:11 ` [Bug java/20362] " bojan at antonovic dot com @ 2005-03-08 9:56 ` bojan at antonovic dot com 2005-03-08 16:32 ` bojan at antonovic dot com ` (2 subsequent siblings) 4 siblings, 0 replies; 6+ messages in thread From: bojan at antonovic dot com @ 2005-03-08 9:56 UTC (permalink / raw) To: java-prs ------- Additional Comments From bojan at antonovic dot com 2005-03-07 17:11 ------- *** Bug 18212 has been marked as a duplicate of this bug. *** -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20362 ^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug java/20362] ICE: bus error if missed interface used in abstract class and output file specified 2005-03-07 17:11 [Bug java/20362] New: ICE: bus error if missed interface used in abstract class and output file specified bojan at antonovic dot com 2005-03-07 17:11 ` [Bug java/20362] " bojan at antonovic dot com 2005-03-08 9:56 ` bojan at antonovic dot com @ 2005-03-08 16:32 ` bojan at antonovic dot com 2005-03-08 16:49 ` rmathew at gcc dot gnu dot org 2005-03-09 11:03 ` rmathew at gcc dot gnu dot org 4 siblings, 0 replies; 6+ messages in thread From: bojan at antonovic dot com @ 2005-03-08 16:32 UTC (permalink / raw) To: java-prs ------- Additional Comments From bojan at antonovic dot com 2005-03-07 19:21 ------- Compiling the .java files directly works: working: gcj -o bugtest --main=BugTest *.java */*.java gcj --main=BugTest *.java */*.java */*/*.java Compiling the code by gcj -C first instead with javac makes no difference. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20362 ^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug java/20362] ICE: bus error if missed interface used in abstract class and output file specified 2005-03-07 17:11 [Bug java/20362] New: ICE: bus error if missed interface used in abstract class and output file specified bojan at antonovic dot com ` (2 preceding siblings ...) 2005-03-08 16:32 ` bojan at antonovic dot com @ 2005-03-08 16:49 ` rmathew at gcc dot gnu dot org 2005-03-09 11:03 ` rmathew at gcc dot gnu dot org 4 siblings, 0 replies; 6+ messages in thread From: rmathew at gcc dot gnu dot org @ 2005-03-08 16:49 UTC (permalink / raw) To: java-prs ------- Additional Comments From rmathew at gcc dot gnu dot org 2005-03-08 10:05 ------- As of 2005-03-08, this testcase works quite fine for me with mainline CVS. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20362 ^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug java/20362] ICE: bus error if missed interface used in abstract class and output file specified 2005-03-07 17:11 [Bug java/20362] New: ICE: bus error if missed interface used in abstract class and output file specified bojan at antonovic dot com ` (3 preceding siblings ...) 2005-03-08 16:49 ` rmathew at gcc dot gnu dot org @ 2005-03-09 11:03 ` rmathew at gcc dot gnu dot org 4 siblings, 0 replies; 6+ messages in thread From: rmathew at gcc dot gnu dot org @ 2005-03-09 11:03 UTC (permalink / raw) To: java-prs ------- Additional Comments From rmathew at gcc dot gnu dot org 2005-03-09 10:55 ------- I do not see an ICE with the given testcase as of 2005-03-09 and mainline CVS. -- What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution| |WORKSFORME http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20362 ^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2005-03-09 10:55 UTC | newest] Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2005-03-07 17:11 [Bug java/20362] New: ICE: bus error if missed interface used in abstract class and output file specified bojan at antonovic dot com 2005-03-07 17:11 ` [Bug java/20362] " bojan at antonovic dot com 2005-03-08 9:56 ` bojan at antonovic dot com 2005-03-08 16:32 ` bojan at antonovic dot com 2005-03-08 16:49 ` rmathew at gcc dot gnu dot org 2005-03-09 11:03 ` rmathew 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).