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: Expunge mark_referenced (needs testing on Darwin/OSX)



On May 22, 2004, at 18:03, Zack Weinberg wrote:
I do not have access to a Darwin system; I would appreciate testing.
This patch has not even been compiled.


zw


        * tree.h: Remove prototype of mark_referenced.
        * varasm.c (mark_referenced): Delete function.
        (assemble_name): Set TREE_SYMBOL_REFERENCED instead of calling
        mark_referenced.
        * config/darwin.c (machopic_validate_stub_or_non_lazy_ptr):
        Just set TREE_USED on the list entry; don't call
        mark_referenced on anything.

When testing this, this patch produces a huge amount of new FAILs. All most of all the new failures are due to the vtable/typeinfo for C++ is not being emitted.

I can look into why this is happening unless you want to look into it.

Thanks,
Andrew Pinski


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