This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

PATCH: Fix for ObjC regressions


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 ();
  

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]