This is the mail archive of the java@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

build_static_field_ref


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]