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 Wed, 2 Jun 2004 13:13:07 -0400, Andrew Pinski <pinskia@physics.uc.edu> wrote:

> +   || (DECL_P (DECL) && TREE_CODE (DECL) != FUNCTION_DECL	\
> +       && cgraph_varpool_node (DECL)->needed)			\
> +   || (TREE_CODE (DECL) == FUNCTION_DECL && cgraph_node (DECL)->needed) \

To be a bit nitpicky, if you reorder these two cases you don't need the
check for != FUNCTION_DECL for vars.

The cp-tree.h change is OK.

Jason


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