diff options
| author | devans <devans@138bc75d-0d04-0410-961f-82ee72b054a4> | 2008-10-13 13:54:47 +0000 |
|---|---|---|
| committer | devans <devans@138bc75d-0d04-0410-961f-82ee72b054a4> | 2008-10-13 13:54:47 +0000 |
| commit | bc4dc0922b4634d4ea8c44b02170dbe87471f05e (patch) | |
| tree | cce167458557d46560c9c1d2c7cbbfc137013cd7 | |
| parent | 78e16ab5562671ddce186cccf332c0c9fedbc3b9 (diff) | |
| download | ppe42-gcc-bc4dc0922b4634d4ea8c44b02170dbe87471f05e.tar.gz ppe42-gcc-bc4dc0922b4634d4ea8c44b02170dbe87471f05e.zip | |
* 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
| -rw-r--r-- | gcc/cp/ChangeLog | 4 | ||||
| -rw-r--r-- | gcc/cp/cp-tree.h | 4 |
2 files changed, 6 insertions, 2 deletions
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 <dje@google.com> + + * cp-tree.h (DECL_MAIN_P): Fix parentheses around expression. + 2008-10-10 Jakub Jelinek <jakub@redhat.com> 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) \ |

