This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug bootstrap/68361] New: [6 regression] Bootstrap failure with --enable-checking=release


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68361

            Bug ID: 68361
           Summary: [6 regression] Bootstrap failure with
                    --enable-checking=release
           Product: gcc
           Version: 6.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: bootstrap
          Assignee: unassigned at gcc dot gnu.org
          Reporter: schwab@linux-m68k.org
                CC: jason at gcc dot gnu.org, mpolacek at gcc dot gnu.org
  Target Milestone: ---

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));
                                                   ^

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]