This is the mail archive of the
gcc-regression@gcc.gnu.org
mailing list for the GCC project.
Re: 31 GCC regressions, 25 new, with your patch on 2003-06-24T18:06:05Z.
- From: Jan Hubicka <jh at suse dot cz>
- To: Andrew Pinski <pinskia at physics dot uc dot edu>, gcc-patches at gcc dot gnu dot org
- Cc: gcc-regression at gcc dot gnu dot org,falk dot hueffner at student dot uni-tuebingen dot de, jakub at redhat dot com, jh at suse dot cz,joern dot rennecke at superh dot com, mark at codesourcery dot com,nathan at codesourcery dot com, pcarlini at unitus dot it
- Date: Wed, 25 Jun 2003 11:33:15 +0200
- Subject: Re: 31 GCC regressions, 25 new, with your patch on 2003-06-24T18:06:05Z.
- References: <200306242257.h5OMvp3b028476@gcc-regress.apple.com> <01C9F0A4-A6B2-11D7-865B-000393A6D2F2@physics.uc.edu>
>
> 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)