projects
/
gcc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9456482
)
* cp-tree.h (DECL_MAIN_P): Fix parentheses around expression.
author
Doug Evans
<dje@google.com>
Mon, 13 Oct 2008 13:54:47 +0000
(13:54 +0000)
committer
Doug Evans
<devans@gcc.gnu.org>
Mon, 13 Oct 2008 13:54:47 +0000
(13:54 +0000)
From-SVN: r141088
gcc/cp/ChangeLog
patch
|
blob
|
history
gcc/cp/cp-tree.h
patch
|
blob
|
history
diff --git
a/gcc/cp/ChangeLog
b/gcc/cp/ChangeLog
index 6b38199aa55c78ecedbf522ae645256dcc026aa5..1b38209a3a1db6b815f43071ffb39e2205df00fe 100644
(file)
--- 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 c32fff6b7b407c9cefac4899a0d28efece2ed8b9..3d52d83b4489a3f3e293ed220608c3fbf646b326 100644
(file)
--- 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) \