* cp-tree.h (DECL_MAIN_P): Fix parentheses around expression.
authorDoug Evans <dje@google.com>
Mon, 13 Oct 2008 13:54:47 +0000 (13:54 +0000)
committerDoug Evans <devans@gcc.gnu.org>
Mon, 13 Oct 2008 13:54:47 +0000 (13:54 +0000)
From-SVN: r141088

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

index 6b38199aa55c78ecedbf522ae645256dcc026aa5..1b38209a3a1db6b815f43071ffb39e2205df00fe 100644 (file)
@@ -1,3 +1,7 @@
+2008-10-13  Doug Evans  <dje@google.com>
+
+       * cp-tree.h (DECL_MAIN_P): Fix parentheses around expression.
+
 2008-10-10  Jakub Jelinek  <jakub@redhat.com>
 
        PR c++/37146
index c32fff6b7b407c9cefac4899a0d28efece2ed8b9..3d52d83b4489a3f3e293ed220608c3fbf646b326 100644 (file)
@@ -316,8 +316,8 @@ typedef struct ptrmem_cst * ptrmem_cst_t;
 #define DECL_MAIN_P(NODE)                              \
    (DECL_EXTERN_C_FUNCTION_P (NODE)                    \
     && DECL_NAME (NODE) != NULL_TREE                   \
-    && MAIN_NAME_P (DECL_NAME (NODE)))                  \
-    && flag_hosted
+    && MAIN_NAME_P (DECL_NAME (NODE))                  \
+    && flag_hosted)
 
 /* The overloaded FUNCTION_DECL.  */
 #define OVL_FUNCTION(NODE) \