From: Andrew Haley Date: Mon, 19 Mar 2001 16:14:14 +0000 (+0000) Subject: class.c (build_static_field_ref): Call make_decl_rtl() after setting the DECL_EXTERNA... X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=6bc5f6cb54247182dd405f10bd77033499bc13ad;p=gcc.git class.c (build_static_field_ref): Call make_decl_rtl() after setting the DECL_EXTERNAL flag. 2001-03-19 Andrew Haley * class.c (build_static_field_ref): Call make_decl_rtl() after setting the DECL_EXTERNAL flag. From-SVN: r40620 --- diff --git a/gcc/java/ChangeLog b/gcc/java/ChangeLog index 4a7a90928bd..63a70d7cddf 100644 --- a/gcc/java/ChangeLog +++ b/gcc/java/ChangeLog @@ -1,3 +1,8 @@ +2001-03-19 Andrew Haley + + * class.c (build_static_field_ref): Call make_decl_rtl() after + setting the DECL_EXTERNAL flag. + 2001-03-17 Per Bothner * decl.c (clear_binding_level): Fix initializer (broke 03-15). diff --git a/gcc/java/class.c b/gcc/java/class.c index ee261621ac5..6fc4cace43d 100644 --- a/gcc/java/class.c +++ b/gcc/java/class.c @@ -985,9 +985,9 @@ build_static_field_ref (fdecl) { if (!DECL_RTL_SET_P (fdecl)) { - make_decl_rtl (fdecl, NULL); if (is_compiled == 1) DECL_EXTERNAL (fdecl) = 1; + make_decl_rtl (fdecl, NULL); } return fdecl; }