[Bug c++/83942] [8 Regression] False -Wunused-but-set-variable when const scoped enum is cast to int

jakub at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Fri Jan 19 17:03:00 GMT 2018


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

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Priority|P3                          |P1
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2018-01-19
                 CC|                            |jakub at gcc dot gnu.org,
                   |                            |jason at gcc dot gnu.org
   Target Milestone|---                         |8.0
            Summary|False                       |[8 Regression] False
                   |-Wunused-but-set-variable   |-Wunused-but-set-variable
                   |when const scoped enum is   |when const scoped enum is
                   |cast to int                 |cast to int
     Ever confirmed|0                           |1

--- Comment #1 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Started with r253266.


More information about the Gcc-bugs mailing list