This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/53479] Control flow analysis reports warnings in switch over an enum class even if all possible values have their branches


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

Eric Gallager <egall at gwmail dot gwu.edu> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |egall at gwmail dot gwu.edu

--- Comment #6 from Eric Gallager <egall at gwmail dot gwu.edu> ---
This should probably depend on the -fstrict-enums flag, as that controls
whether enums can have any value or just those values that are enumerated.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]