OSDN Git Service

* cp-tree.h (DECL_MAIN_P): Fix parentheses around expression.
[pf3gnuchains/gcc-fork.git] / gcc / cp / cp-tree.h
index c32fff6..3d52d83 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) \