This is the mail archive of the
java-prs@gcc.gnu.org
mailing list for the Java project.
[Bug java/21722] gcj miscompiles accesses to static final vars with indirect dispatch
- From: "matz at suse dot de" <gcc-bugzilla at gcc dot gnu dot org>
- To: java-prs at gcc dot gnu dot org
- Date: 1 Jun 2005 20:59:01 -0000
- Subject: [Bug java/21722] gcj miscompiles accesses to static final vars with indirect dispatch
- References: <20050523165100.21722.matz@suse.de>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From matz at suse dot de 2005-06-01 20:59 -------
Yes. I think this is because the compiler needs to see the definition and the use site
to exhibit this bug. Without the def it will correctly emit the code walking the table
to get to the member.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21722