31 GCC regressions, 25 new, with your patch on 2003-06-24T18:06:05Z.

Jan Hubicka jh@suse.cz
Wed Jun 25 09:55:00 GMT 2003


> 
> These might be related to this patch also:
> >native objc.sum objc/compile/20011211-1.m,
> >native objc.sum objc/execute/accessing_ivars.m
> >native objc.sum objc/execute/bycopy-1.m
> >native objc.sum objc/execute/bycopy-2.m
> >native objc.sum objc/execute/compatibility_alias.m
> >native objc.sum objc/execute/enumeration-1.m
> >native objc.sum objc/execute/enumeration-2.m
> >native objc.sum objc/execute/formal_protocol-1.m
> >native objc.sum objc/execute/formal_protocol-2.m
> >native objc.sum objc/execute/formal_protocol-3.m
> >native objc.sum objc/execute/formal_protocol-4.m
> >native objc.sum objc/execute/formal_protocol-5.m
> >native objc.sum objc/execute/formal_protocol-6.m
> >native objc.sum objc/execute/formal_protocol-7.m
> >native objc.sum objc/execute/initialize.m
> >native objc.sum objc/execute/load-2.m
> >native objc.sum objc/execute/load-3.m
> >native objc.sum objc/execute/load.m
> >native objc.sum objc/execute/nil_method-1.m
> >native objc.sum objc/execute/no_clash.m
> >native objc.sum objc/execute/np-1.m
> >native objc.sum objc/execute/object_is_class.m
> >native objc.sum objc/execute/object_is_meta_class.m
> >native objc.sum objc/execute/selector-1.m
> 
> All like error messages:
> Like:
> /tmp/cco5RejY.s:unknown:Undefined local symbol L_OBJC_CLASS_NAME_0^M
> /tmp/cco5RejY.s:unknown:Undefined local symbol L_OBJC_METH_VAR_NAME_12^M
> 
> Remember Objective-C differences on Darwin so I think this patch should 
> be removed or fixed soon.

I've fixed these by the attached patch installed as obivous.
Sorry for breaking the tree..

Wed Jun 25 13:16:19 CEST 2003  Jan Hubikca  <jh@suse.cz>
	* varasm.c (assemble_name): Mark needed variables even when
	global info is ready.
*** varasm.c.old	Wed Jun 25 13:14:38 2003
--- varasm.c	Wed Jun 25 13:15:58 2003
*************** assemble_name (file, name)
*** 1747,1760 ****
    id = maybe_get_identifier (real_name);
    if (id)
      {
!       if (!TREE_SYMBOL_REFERENCED (id)
! 	  && !cgraph_global_info_ready)
  	{
! 	  struct cgraph_node *node = cgraph_node_for_identifier (id);
  	  struct cgraph_varpool_node *vnode;
  	  
! 	  if (node)
! 	    cgraph_mark_needed_node (node, 1);
  
  	  vnode = cgraph_varpool_node_for_identifier (id);
  	  if (vnode)
--- 1747,1763 ----
    id = maybe_get_identifier (real_name);
    if (id)
      {
!       if (!TREE_SYMBOL_REFERENCED (id))
  	{
! 	  struct cgraph_node *node;
  	  struct cgraph_varpool_node *vnode;
  	  
! 	  if (!cgraph_global_info_ready)
! 	    {
! 	      node = cgraph_node_for_identifier (id);
! 	      if (node)
! 		cgraph_mark_needed_node (node, 1);
! 	    }
  
  	  vnode = cgraph_varpool_node_for_identifier (id);
  	  if (vnode)



More information about the Gcc-regression mailing list