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

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |INVALID
             Status|UNCONFIRMED                 |RESOLVED

--- Comment #1 from Richard Biener <rguenth at gcc dot gnu.org> ---
Because g is only used conditionally and that condition is false.  Does
clang diagnose

int g = 0 && g;

?

if you write

int g = 1 && g;

we diagnose the use.

Reply via email to