From 0e9934c8fcd9d05b2054a1d43745bd8350663ecc Mon Sep 17 00:00:00 2001 From: Richard Stallman Date: Sat, 19 Dec 1992 08:47:33 +0000 Subject: [PATCH] (finish_objc) [OBJC_SELECTORS_WITHOUT_LABELS]: Always call build_selector_translation_table. From-SVN: r2895 --- gcc/objc/objc-act.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/gcc/objc/objc-act.c b/gcc/objc/objc-act.c index b5109ea8ddd..0bb1c103036 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)