When building with --enable-checking=release: ../../gcc/gcc/cp/tree.c: In function ‘tree_node* build_cplus_array_type(tree, tree)’: ../../gcc/gcc/cp/tree.c:894:44: error: suggest parentheses around assignment used as truth value [-Werror=parentheses] = TYPE_NEEDS_CONSTRUCTING (elt_type)); ^ ../../gcc/gcc/cp/tree.c:896:51: error: suggest parentheses around assignment used as truth value [-Werror=parentheses] = TYPE_HAS_NONTRIVIAL_DESTRUCTOR (elt_type)); ^
I also see that on x86_64-apple-darwin14. Note that the "suggest parentheses ..." is quite unhelpful.
Author: jason Date: Tue Nov 17 18:16:29 2015 New Revision: 230470 URL: https://gcc.gnu.org/viewcvs?rev=230470&root=gcc&view=rev Log: PR bootstrap/68361 * cvt.c (cp_convert_and_check): Use warning_sentinel to suppress -Wparentheses. Added: trunk/gcc/testsuite/g++.dg/warn/Wparentheses-28.C Modified: trunk/gcc/cp/ChangeLog trunk/gcc/cp/cvt.c
So fixed?
Fixed.