mirror of
git://gcc.gnu.org/git/gcc.git
synced 2024-12-30 09:14:46 +08:00
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
This commit is contained in:
parent
e7aadbbb7b
commit
6bc5f6cb54
@ -1,3 +1,8 @@
|
||||
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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user