This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
PATCH: Fix for ObjC regressions
- To: gcc-patches at gcc dot gnu dot org
- Subject: PATCH: Fix for ObjC regressions
- From: Ziemowit Laski <zlaski at speakeasy dot org>
- Date: Fri, 12 Oct 2001 04:04:36 -0700
- CC: shebs at apple dot com, zlaski at apple dot com, zlaski at speakeasy dot org
Many thanks to Richard Henderson for finding the trouble spot.
Also tried (and failed) to fix the objc.dg/method-2.m failure.
Better luck next time.
Bootstrapped on i686-pc-linux-gnu. Good night.
----------------------------
2001-10-12 Ziemowit Laski <zlaski@apple.com>
[gcc/ChangeLog]
* objc/objc-act.c (finish_objc): Correct precondition for
emitting symtab declarations.
Index: gcc/objc/objc-act.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/objc/objc-act.c,v
retrieving revision 1.97
diff -c -3 -p -r1.97 objc-act.c
*** objc-act.c 2001/10/03 22:05:56 1.97
--- objc-act.c 2001/10/12 10:58:41
*************** finish_objc ()
*** 8095,8101 ****
if (objc_static_instances)
generate_static_references ();
! if (objc_implementation_context || class_names_chain
|| meth_var_names_chain || meth_var_types_chain || sel_ref_chain)
generate_objc_symtab_decl ();
--- 8095,8101 ----
if (objc_static_instances)
generate_static_references ();
! if (imp_list || class_names_chain
|| meth_var_names_chain || meth_var_types_chain || sel_ref_chain)
generate_objc_symtab_decl ();