From: Richard Stallman Date: Sun, 18 Jul 1993 05:29:38 +0000 (+0000) Subject: (synth_module_prologue): Call layout_type for the array X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=081be30bbf09a0c2429d5962aa567e722ac1afd2;p=gcc.git (synth_module_prologue): Call layout_type for the array type used for _OBJC_SELECTOR_TABLE. From-SVN: r4932 --- diff --git a/gcc/objc/objc-act.c b/gcc/objc/objc-act.c index 45d31c0ce14..645a4dd38b7 100644 --- a/gcc/objc/objc-act.c +++ b/gcc/objc/objc-act.c @@ -1082,9 +1082,11 @@ synth_module_prologue () /* static SEL _OBJC_SELECTOR_TABLE[]; */ + temp_type = build_array_type (selector_type, NULLT); + layout_type (temp_type); if (! flag_next_runtime) UOBJC_SELECTOR_TABLE_decl - = create_builtin_decl (VAR_DECL, build_array_type (selector_type, NULLT), + = create_builtin_decl (VAR_DECL, temp_type, "_OBJC_SELECTOR_TABLE"); generate_forward_declaration_to_string_table ();