From: Doug Evans Date: Mon, 13 Oct 2008 13:54:47 +0000 (+0000) Subject: * cp-tree.h (DECL_MAIN_P): Fix parentheses around expression. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=7f7aa9e154db9cd6b52925a7ca2ce75829f38179;p=gcc.git * cp-tree.h (DECL_MAIN_P): Fix parentheses around expression. From-SVN: r141088 --- diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog index 6b38199aa55..1b38209a3a1 100644 --- a/gcc/cp/ChangeLog +++ b/gcc/cp/ChangeLog @@ -1,3 +1,7 @@ +2008-10-13 Doug Evans + + * cp-tree.h (DECL_MAIN_P): Fix parentheses around expression. + 2008-10-10 Jakub Jelinek PR c++/37146 diff --git a/gcc/cp/cp-tree.h b/gcc/cp/cp-tree.h index c32fff6b7b4..3d52d83b448 100644 --- a/gcc/cp/cp-tree.h +++ b/gcc/cp/cp-tree.h @@ -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) \