cp-tree.h: Fix typo.

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

        * cp-tree.h: Fix typo.

From-SVN: r82580
This commit is contained in:
Andrew Pinski 2004-06-02 20:24:30 +00:00 committed by Andrew Pinski
parent 26f4ba86cf
commit b9696fd41d
2 changed files with 3 additions and 1 deletions

View File

@ -1,5 +1,7 @@
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.

View File

@ -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)) \