From 081be30bbf09a0c2429d5962aa567e722ac1afd2 Mon Sep 17 00:00:00 2001 From: Richard Stallman Date: Sun, 18 Jul 1993 05:29:38 +0000 Subject: [PATCH] (synth_module_prologue): Call layout_type for the array type used for _OBJC_SELECTOR_TABLE. From-SVN: r4932 --- gcc/objc/objc-act.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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 (); -- 2.30.2