[Bug java/32706] New: gcj -M's dependency list is empty
GCJ -M is producing an empty dependency list vis: package frysk4742; class Referee { static int i; int j; Referee() { j = i++; } } package frysk4742; class Referer { static public void main(String[] args) { new Referee(); } } gcj -M frysk4742/Referer.java gcc (GCC) 4.1.1 20070105 (Red Hat 4.1.1-51): imports/tests/frysk4742/Referer.java ../../../frysk/frysk-imports/tests/frysk4742/Referer.o: \ ../../../frysk/frysk-imports/tests/frysk4742/Referer.java \ /usr/share/java/libgcj-4.1.1.jar \ ../../../frysk/frysk-imports/tests/frysk4742/Referee.java gcc (GCC) 4.1.2 20070502 (Red Hat 4.1.2-12): /tmp/ccSF6vYl.o: -- Summary: gcj -M's dependency list is empty Product: gcc Version: 4.1.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: java AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: cagney at redhat dot com http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32706
[Bug java/32247] -Wall enables -Wunused enables -Wunused-parameter
--- Comment #6 from cagney at redhat dot com 2007-06-11 21:48 --- That is something for _java_ developers to decide. -- cagney at redhat dot com changed: What|Removed |Added Status|RESOLVED|UNCONFIRMED Resolution|WONTFIX | http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32247
[Bug java/32247] -Wall enables -Wunused enables -Wunused-parameter
--- Comment #4 from cagney at redhat dot com 2007-06-11 21:44 --- This is a bug in the GCJ command line parser option parser, not in ECJ. -- cagney at redhat dot com changed: What|Removed |Added Status|RESOLVED|UNCONFIRMED Resolution|INVALID | http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32247
[Bug java/32247] -Wall enables -Wunused enables -Wunused-parameter
--- Comment #2 from cagney at redhat dot com 2007-06-11 21:38 --- This bug is refering to the command line options parser and how it maps GCC style options onto ECJ options. -- cagney at redhat dot com changed: What|Removed |Added Status|RESOLVED|UNCONFIRMED Resolution|WONTFIX | http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32247
[Bug java/32247] New: -Wall enables -Wunused enables -Wunused-parameter
The latest java compiler (well in Fedora 7) enables -Wunused as part of -Wall. Is this such a good idea as this leads to -Wunused-parameter (a relatively common thing in O-O), -- Summary: -Wall enables -Wunused enables -Wunused-parameter Product: gcc Version: 4.1.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: java AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: cagney at redhat dot com http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32247
[Bug java/27985] gcj fails dependant on compiler order
--- Comment #1 from cagney at redhat dot com 2006-06-10 18:53 --- Created an attachment (id=11649) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=11649&action=view) source code for compile -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27985
[Bug java/27985] New: gcj fails dependant on compiler order
It's got something to do with two occurances of the object "Action" in the attached test vis: [EMAIL PROTECTED] gcj -d . -I . -C one/ExitNotificationObserver.java one/AddTaskObserverAction.java one/TaskAction.java one/ExitNotificationObserver.java: In class 'one.ExitNotificationObserver': one/ExitNotificationObserver.java: In constructor '()': one/ExitNotificationObserver.java:18: error: Can't find method dontSaveObject() in type one.TaskAction. myAction.dontSaveObject(); ^ 1 error [EMAIL PROTECTED] gcj -d . -I . -C one/TaskAction.java one/ExitNotificationObserver.java one/AddTaskObserverAction.java [EMAIL PROTECTED] attachment follows -- Summary: gcj fails dependant on compiler order Product: gcc Version: 4.1.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: java AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: cagney at redhat dot com http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27985
[Bug java/27400] New: switch indexed by class crashes compiler
$ cat EnumClass.java class EnumClass { static public final EnumClass x = new EnumClass (); } $ cat ClassSwitch.java class ClassSwitch { public static void main (String[] args) { switch (args.length) { case EnumClass.x: return; } System.out.println ("Switched"); } } $ gcj ClassSwitch.java ClassSwitch.java:5: internal compiler error: Segmentation fault $ gcj --version gcj (GCC) 4.1.0 20060304 (Red Hat 4.1.0-3) Copyright (C) 2006 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. -- Summary: switch indexed by class crashes compiler Product: gcc Version: 4.1.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: java AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: cagney at redhat dot com http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27400
[Bug java/27399] New: GCJ permits indexing by final object
This compiles: public class ClassIndex implements Comparable { static final ClassIndex x = new ClassIndex (); public int compareTo (Object o) { return 0; } public static void main (String[] args) { System.out.println (ClassIndex.x); byte[] b = new byte[ClassIndex.x]; System.out.println ("Array length: " + b.length); } } $ gcj -C ClassIndex.java $ gcj --version gcj (GCC) 4.1.0 20060304 (Red Hat 4.1.0-3) Copyright (C) 2006 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. -- Summary: GCJ permits indexing by final object Product: gcc Version: 4.1.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: java AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: cagney at redhat dot com http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27399
[Bug java/26095] New: variable access directed to class of different scope
// this should not compile package samename; public class WrongScope { public int v1 () { class SingleName { int v1 = 1; } // Should not compile. return new SingleName ().v2; } public int v2 () { class SingleName { int v2 = 2; } return new SingleName ().v2; } } -- Summary: variable access directed to class of different scope Product: gcc Version: 4.1.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: java AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: cagney at redhat dot com http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26095
[Bug libgcj/13212] JNI/CNI AttachCurrentThread does not register thread with garbage collector
--- Comment #24 from cagney at redhat dot com 2006-01-09 18:21 --- (In reply to comment #20) > but it doesn't seem like a good idea in general. This LD_PRELOAD hack seems > to > make every child of /usr/bin/java load libgcj.so.7 and so potentially breaks > all manner of things. > s/seems to make/always makes/ :-) Sub-processes inherit that environmnent variable and so will always attempt the pre-load. Been there, rat hole. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13212