https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71402
Manuel López-Ibáñez <manu at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
CC| |manu at gcc dot gnu.org
Resolution|--- |WORKSFORME
--- Comment #1 from Manuel López-Ibáñez <manu at gcc dot gnu.org> ---
(In reply to andysem from comment #0)
> gcc emits 'unused variable' warnings for variables whose initialization
> might have side effects.
It seems to be fixed in 6.1 and 7.0. Thanks for the report anyway.