aboutsummaryrefslogtreecommitdiff
path: root/gcc/objc
diff options
context:
space:
mode:
authorRichard Stallman <rms@gnu.org>1993-07-18 05:29:38 +0000
committerRichard Stallman <rms@gnu.org>1993-07-18 05:29:38 +0000
commit081be30bbf09a0c2429d5962aa567e722ac1afd2 (patch)
tree44dcc853c4463515a224f6a926ad002775db377e /gcc/objc
parent46dbb914d13f1f05126ae7bc1c60971eed255b1c (diff)
downloadgcc-081be30bbf09a0c2429d5962aa567e722ac1afd2.zip
gcc-081be30bbf09a0c2429d5962aa567e722ac1afd2.tar.gz
gcc-081be30bbf09a0c2429d5962aa567e722ac1afd2.tar.bz2
(synth_module_prologue): Call layout_type for the array
type used for _OBJC_SELECTOR_TABLE. From-SVN: r4932
Diffstat (limited to 'gcc/objc')
-rw-r--r--gcc/objc/objc-act.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/gcc/objc/objc-act.c b/gcc/objc/objc-act.c
index 45d31c0..645a4dd 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 ();