[Bug c/83955] false positive implicit-fallthrough warning on switch enum
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83955 Romain Geissler changed: What|Removed |Added CC||romain.geissler at amadeus dot com --
[Bug c/83955] false positive implicit-fallthrough warning on switch enum
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83955 Martin Sebor changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|
[Bug c/83955] false positive implicit-fallthrough warning on switch enum
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83955 --- Comment #1 from Andrew Pinski --- The warning is correct for c. The enum type is really an int in size and space. That is assigning 3 or 4 to it is still well defined code.