Commit 6bc5f6cb by Andrew Haley Committed by Andrew Haley

class.c (build_static_field_ref): Call make_decl_rtl() after setting the DECL_EXTERNAL flag.

2001-03-19  Andrew Haley  <aph@cambridge.redhat.com>

        * class.c (build_static_field_ref): Call make_decl_rtl() after
        setting the DECL_EXTERNAL flag.

From-SVN: r40620
parent e7aadbbb
2001-03-19 Andrew Haley <aph@cambridge.redhat.com>
* class.c (build_static_field_ref): Call make_decl_rtl() after
setting the DECL_EXTERNAL flag.
2001-03-17 Per Bothner <per@bothner.com>
* decl.c (clear_binding_level): Fix initializer (broke 03-15).
......
......@@ -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;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment