[Bug c++/69723] Inconsistent report of unused and uninitialized variables

development@faf-ltd.com gcc-bugzilla@gcc.gnu.org
Mon Feb 8 23:16:00 GMT 2016


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

--- Comment #5 from Peter VARGA <development@faf-ltd.com> ---
I do not understand what you mean with "Replace unused++ with  unused = unused
+ 1".

How ever. I checked my example code in Compiler Explorer with clang and clang
generates a warning as it should be.

OK. You was honest that this means a lot of work but it is a bug and of course
everybody can live with it.

https://goo.gl/5eaLw5


More information about the Gcc-bugs mailing list