summaryrefslogtreecommitdiffstats
path: root/contrib/gcc/cp/cp-tree.h
diff options
context:
space:
mode:
authorpfg <pfg@FreeBSD.org>2013-11-13 04:31:27 +0000
committerpfg <pfg@FreeBSD.org>2013-11-13 04:31:27 +0000
commitcf58babf3f543849ff6dff944c1f6f312fcfa635 (patch)
tree53fd1a87f29fb5e7aa1255cb6b0dd2f9d40229b0 /contrib/gcc/cp/cp-tree.h
parent6158feccbc30cdb67384e1f97816c5e54890dee8 (diff)
downloadFreeBSD-src-cf58babf3f543849ff6dff944c1f6f312fcfa635.zip
FreeBSD-src-cf58babf3f543849ff6dff944c1f6f312fcfa635.tar.gz
gcc: Backport fixes for -W parentheses in C++
This fixes GCC 19564: http://gcc.gnu.org/ml/gcc-patches/2006-12/msg00868.html http://gcc.gnu.org/ml/gcc-patches/2006-12/msg01772.html http://gcc.gnu.org/ml/gcc-patches/2007-01/msg00545.html The patch and its fixes are used by Google in their enhanced gcc-4.2.1 port and predates the license switch in GCC so they are still under GPLv2. MFC after: 3 weeks
Diffstat (limited to 'contrib/gcc/cp/cp-tree.h')
-rw-r--r--contrib/gcc/cp/cp-tree.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/contrib/gcc/cp/cp-tree.h b/contrib/gcc/cp/cp-tree.h
index deea897..ab84b62 100644
--- a/contrib/gcc/cp/cp-tree.h
+++ b/contrib/gcc/cp/cp-tree.h
@@ -4460,8 +4460,9 @@ extern tree build_x_indirect_ref (tree, const char *);
extern tree build_indirect_ref (tree, const char *);
extern tree build_array_ref (tree, tree);
extern tree get_member_function_from_ptrfunc (tree *, tree);
-extern tree build_x_binary_op (enum tree_code, tree, tree,
- bool *);
+extern tree build_x_binary_op (enum tree_code, tree,
+ enum tree_code, tree,
+ enum tree_code, bool *);
extern tree build_x_unary_op (enum tree_code, tree);
extern tree unary_complex_lvalue (enum tree_code, tree);
extern tree build_x_conditional_expr (tree, tree, tree);
OpenPOWER on IntegriCloud