[Bug bootstrap/102831] [12 regression] Spurious -Wparentheses etc. warnings

ro at CeBiTec dot Uni-Bielefeld.DE gcc-bugzilla@gcc.gnu.org
Mon Nov 8 10:12:09 GMT 2021


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

--- Comment #3 from ro at CeBiTec dot Uni-Bielefeld.DE <ro at CeBiTec dot Uni-Bielefeld.DE> ---
> --- Comment #2 from Thomas Schwinge <tschwinge at gcc dot gnu.org> ---
> Are you guys able to reliably reproduce the problem?  Asking because for me, it
> was very flaky: some (seemingly random) change elsewhere in the compiler, and
> PR101574 often didn't reproduce anymore (but came back later).  (But really
> have not anymore seen it since the aforementioned commit.)

In my case the errors were anything but reliable: they started to show on
Solaris 11.3 builds only, sometimes sparc, sometimes x86, at others
(from the identical source tree) Solaris 11.4/SPARC only.

In the end (not having made progress to figure out what's wrong), I
ended  up with a local patch to disable -Wparentheses for
lra-constraints.c and sparseset.c as those failures didn't have any
other effect on the build or testsuite results, but just had become a
nuisance.


More information about the Gcc-bugs mailing list