cp-tree.h: Fix typo.
authorAndrew Pinski <pinskia@physics.uc.edu>
Wed, 2 Jun 2004 20:24:30 +0000 (20:24 +0000)
committerAndrew Pinski <pinskia@gcc.gnu.org>
Wed, 2 Jun 2004 20:24:30 +0000 (13:24 -0700)
2004-06-02  Andrew Pinski  <pinskia@physics.uc.edu>

        * cp-tree.h: Fix typo.

From-SVN: r82580

gcc/cp/ChangeLog
gcc/cp/cp-tree.h

index 1615c2d3a7a9b9ec6d64c7f6bf7f7d382ebb102d..636a33cb688873b92022df329b297e7009b7de3a 100644 (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.
index 84d3d4719a5b34d15fcab11504def7a07119c6f6..50e9fe896f59438575722efe6be947c540ce2ce0 100644 (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))               \