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/60439] No warning for case overflow in switch statement.


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60439

--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Well in C, the type of a && is an int even though the range is 0...1 .


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