This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug java/12772] New: Need infrastructure to determine if a class in in same binary unit
- From: "bryce at mckinlay dot net dot nz" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 25 Oct 2003 04:37:07 -0000
- Subject: [Bug java/12772] New: Need infrastructure to determine if a class in in same binary unit
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12772
Summary: Need infrastructure to determine if a class in in same
binary unit
Product: gcc
Version: 3.4
Status: UNCONFIRMED
Keywords: pessimizes-code
Severity: normal
Priority: P2
Component: java
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: bryce at mckinlay dot net dot nz
CC: gcc-bugs at gcc dot gnu dot org
OtherBugsDependingO 12725
nThis:
In order to make the right decision about whether to optimize field access and certain method, a
function needs to be added to GCJ to determine if a class is in the same translation unit. It should
also be possible for the user to specify that dispatch to certain classes or packages should be
treated as non-binary-compatible, with a flag such as -fassume-local.