[Bug c++/87504] inconsistent diagnostic style between C and C++ for binary operators

ro at CeBiTec dot Uni-Bielefeld.DE gcc-bugzilla@gcc.gnu.org
Thu Dec 20 11:49:00 GMT 2018


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

--- Comment #6 from ro at CeBiTec dot Uni-Bielefeld.DE <ro at CeBiTec dot Uni-Bielefeld.DE> ---
> --- Comment #5 from David Malcolm <dmalcolm at gcc dot gnu.org> ---
> (In reply to Rainer Orth from comment #4)
>> The patch broke Solaris/SPARC bootstrap:
>
> Sorry about that.  Does the patch posted here:
>   https://gcc.gnu.org/ml/gcc-patches/2018-12/msg01433.html
> help?

It does indeed.  However, I didn't do a full bootstrap, but just
reverted my workaround involving #pragma GCC diagnostic ignored
"-Wtautological-compare", applied your patch and reran make && make check.

The build completed with no changes in testsuite results except for the
new testcase.

Thanks.
        Rainer


More information about the Gcc-bugs mailing list