[Bug c/83955] false positive implicit-fallthrough warning on switch enum

2018-02-19 Thread romain.geissler at amadeus dot com
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

2018-01-26 Thread msebor at gcc dot gnu.org
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

2018-01-20 Thread pinskia at gcc dot gnu.org
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.