From: devans Date: Mon, 13 Oct 2008 13:54:47 +0000 (+0000) Subject: * cp-tree.h (DECL_MAIN_P): Fix parentheses around expression. X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=bc4dc0922b4634d4ea8c44b02170dbe87471f05e;p=thirdparty%2Fgcc.git * cp-tree.h (DECL_MAIN_P): Fix parentheses around expression. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@141088 138bc75d-0d04-0410-961f-82ee72b054a4 --- diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog index 6b38199aa55c..1b38209a3a1d 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 c32fff6b7b40..3d52d83b4489 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) \