]> gcc.gnu.org Git - gcc.git/commitdiff
(synth_module_prologue): Call layout_type for the array
authorRichard Stallman <rms@gnu.org>
Sun, 18 Jul 1993 05:29:38 +0000 (05:29 +0000)
committerRichard Stallman <rms@gnu.org>
Sun, 18 Jul 1993 05:29:38 +0000 (05:29 +0000)
type used for _OBJC_SELECTOR_TABLE.

From-SVN: r4932

gcc/objc/objc-act.c

index 45d31c0ce145ff95b68fe43e9d426133f0a2c089..645a4dd38b73724223b5c22ae8f12c3715b0b1c0 100644 (file)
@@ -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 ();
This page took 0.079777 seconds and 5 git commands to generate.