| Summary: | [6 regression] Bootstrap failure with --enable-checking=release | ||
|---|---|---|---|
| Product: | gcc | Reporter: | Andreas Schwab <schwab> |
| Component: | bootstrap | Assignee: | Not yet assigned to anyone <unassigned> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | christian.joensson, jakub, jason |
| Priority: | P3 | ||
| Version: | 6.0 | ||
| Target Milestone: | 6.0 | ||
| See Also: | https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68385 | ||
| Host: | Target: | ||
| Build: | Known to work: | ||
| Known to fail: | Last reconfirmed: | 2015-11-17 00:00:00 | |
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. |
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)); ^