build_static_field_ref

Andrew Haley aph@redhat.com
Thu Mar 15 06:16:00 GMT 2001


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.



More information about the Java mailing list