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]
Other format: [Raw text]

Re: Patch: fix objc/formal-protocol-6.m


Nicola Pero wrote:

Sat Aug 31 20:56:36 2002  Nicola Pero  <n.pero@mi.flashnet.it>

       Fixed PR/1727 and long-standing failing testcase
       objc/formal-protocol-6.m.
       * objc-act.c (build_protocol_expr): If compiling for the GNU
       runtime, create a list of Protocol statically allocated instances
       if it doesn't exist, then add the Protocol object to this same
       list.
       (get_objc_string_decl): Fixed typo/bug - TREE_VALUE had been used
       instead of TREE_CHAIN.

This is OK, and thanks for fixing a longstanding bug!

+   The NeXT runtime, I believe, uses some low-level trick to look up
+   all those symbols, then loops on them and fixes them up.

Use this instead: "The NeXT runtime fixes up all protocols at program
startup time, before main() is entered."

Stan




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