This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Expunge mark_referenced (needs testing on Darwin/OSX)
- From: Jason Merrill <jason at redhat dot com>
- To: Andrew Pinski <pinskia at physics dot uc dot edu>
- Cc: Zack Weinberg <zack at codesourcery dot com>, gcc-patches at gcc dot gnu dot org, Andreas Tobler <toa at pop dot agri dot ch>
- Date: Wed, 02 Jun 2004 14:01:21 -0400
- Subject: Re: Expunge mark_referenced (needs testing on Darwin/OSX)
- References: <877jv4ruez.fsf@taltos.codesourcery.com><366E5542-B169-11D8-A101-000393A6D2F2@physics.uc.edu><87oeo7w46t.fsf@taltos.codesourcery.com><1DEC4607-B4B8-11D8-AEF3-000393A6D2F2@physics.uc.edu>
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