[Bug c++/67858] g++-5.1.1 warns about unused variable only when optimization flag is used

egallager at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Fri Aug 25 15:14:00 GMT 2017


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.


More information about the Gcc-bugs mailing list