[Bug c++/71402] -Wunused-variable warnings ignore initialization side effects
manu at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Sat Jun 4 21:56:00 GMT 2016
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.
More information about the Gcc-bugs
mailing list