This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/67858] g++-5.1.1 warns about unused variable only when optimization flag is used
- From: "egallager at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Fri, 25 Aug 2017 13:54:16 +0000
- Subject: [Bug c++/67858] g++-5.1.1 warns about unused variable only when optimization flag is used
- Auto-submitted: auto-generated
- References: <bug-67858-4@http.gcc.gnu.org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67858
Eric Gallager <egallager at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
CC| |egallager at gcc dot gnu.org
Known to work| |8.0
Resolution|--- |WORKSFORME
--- Comment #2 from Eric Gallager <egallager at gcc dot gnu.org> ---
I get no warnings with any of the optimization levels I tried, and I tried all
of them.