Commit b9696fd4 by Andrew Pinski Committed by Andrew Pinski

cp-tree.h: Fix typo.

2004-06-02  Andrew Pinski  <pinskia@physics.uc.edu>

        * cp-tree.h: Fix typo.

From-SVN: r82580
parent 26f4ba86
2004-06-02 Andrew Pinski <pinskia@physics.uc.edu>
* cp-tree.h: Fix typo.
* cp-tree.h: Include cgraph.h
(DECL_NEEDED_P): Use cgraph_*node on the decl instead of
TREE_SYMBOL_REFERENCED on the DECL_ASSEMBLER_NAME of the decl.
......
......@@ -1711,7 +1711,7 @@ struct lang_decl GTY(())
not something is comdat until end-of-file. */
#define DECL_NEEDED_P(DECL) \
((at_eof && TREE_PUBLIC (DECL) && !DECL_COMDAT (DECL)) \
|| (DECL_P \
|| (DECL_P (DECL) \
&& (TREE_CODE (DECL) == FUNCTION_DECL \
? cgraph_node (DECL)->needed \
: cgraph_varpool_node (DECL)->needed)) \
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment