aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorRichard Stallman <rms@gnu.org>1992-12-19 08:47:33 +0000
committerRichard Stallman <rms@gnu.org>1992-12-19 08:47:33 +0000
commit0e9934c8fcd9d05b2054a1d43745bd8350663ecc (patch)
tree79762629e18a5d50a7dd1a53ab4c3d05d4fde7bd /gcc
parent1a98554e53e6fa0716b95f66e5cc639079275ec7 (diff)
downloadgcc-0e9934c8fcd9d05b2054a1d43745bd8350663ecc.zip
gcc-0e9934c8fcd9d05b2054a1d43745bd8350663ecc.tar.gz
gcc-0e9934c8fcd9d05b2054a1d43745bd8350663ecc.tar.bz2
(finish_objc) [OBJC_SELECTORS_WITHOUT_LABELS]:
Always call build_selector_translation_table. From-SVN: r2895
Diffstat (limited to 'gcc')
-rw-r--r--gcc/objc/objc-act.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/gcc/objc/objc-act.c b/gcc/objc/objc-act.c
index b5109ea..0bb1c10 100644
--- a/gcc/objc/objc-act.c
+++ b/gcc/objc/objc-act.c
@@ -4967,7 +4967,11 @@ finish_objc ()
}
}
+ /* If we are using an array of selectors, we must always
+ finish up the array decl even if no selectors were used. */
+#ifndef OBJC_SELECTORS_WITHOUT_LABELS
if (sel_ref_chain)
+#endif
build_selector_translation_table ();
if (implementation_context || sel_refdef_chain)