This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
build_static_field_ref
- To: java at gcc dot gnu dot org
- Subject: build_static_field_ref
- From: Andrew Haley <aph at redhat dot com>
- Date: Thu, 15 Mar 2001 14:16:29 +0000 (GMT)
- References: <3AB07F71.4F017011@albatross.co.nz>
In build_static_field_ref() I find this:
if (DECL_RTL (fdecl) == 0)
{
make_decl_rtl (fdecl, NULL);
if (is_compiled == 1)
DECL_EXTERNAL (fdecl) = 1;
}
Does anyone have any idea why make_decl_rtl() is called *before*
setting the DECL_EXTERNAL flag? This seems odd, as make_decl_rtl()
uses DECL_EXTERNAL on some targets. I wondered if there perhaps was a
special reason.
Andrew.