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

Eric Botcazou <ebotcazou at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
     Ever confirmed|0                           |1
                 CC|                            |ebotcazou at gcc dot gnu.org,
                   |                            |msebor at gcc dot gnu.org
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2021-11-08

--- Comment #1 from Eric Botcazou <ebotcazou at gcc dot gnu.org> ---
Yes, I have it this morning on the SPARC:

In file included from /homes/botcazou/gcc-head/src/gcc/sparseset.c:23:
/homes/botcazou/gcc-head/src/gcc/sparseset.c: In function 'void
sparseset_ior(sparseset, sparseset, sparseset)':
/homes/botcazou/gcc-head/src/gcc/sparseset.h:215:20: error: suggest parentheses
around assignment used as truth value [-Werror=parentheses]
  215 |        && (((ITER) = sparseset_iter_elm (SPARSESET)) || 1);            
\
      |            ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/homes/botcazou/gcc-head/src/gcc/sparseset.c:214:7: note: in expansion of macro
'EXECUTE_IF_SET_IN_SPARSESET'
  214 |       EXECUTE_IF_SET_IN_SPARSESET (b, e)
      |       ^~~~~~~~~~~~~~~~~~~~~~~~~~~
cc1plus: all warnings being treated as errors
gmake[3]: *** [sparseset.o] Error 1
gmake[3]: *** Waiting for unfinished jobs....

See PR bootstrap/101574 for a similar report.

Reply via email to