[Bug c++/71402] -Wunused-variable warnings ignore initialization side effects

manu at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Wed Jun 8 18:39:00 GMT 2016


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

--- Comment #9 from Manuel López-Ibáñez <manu at gcc dot gnu.org> ---
(In reply to andysem from comment #8)
> That testcase probably doesn't verify the fix for pragma since, as you said,
> the warning does not appear in 6.1 in the first place.

I verified it with 5.3.0. You can try many versions of GCC at:
http://melpon.org/wandbox/


More information about the Gcc-bugs mailing list