[Bug c/89888] [7/8/9 Regression] When switch controlling expression is promoted from type narrower than int, GCC does not diagnose identical cases
jsm28 at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Mon Apr 1 21:31:00 GMT 2019
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89888
Joseph S. Myers <jsm28 at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|--- |7.5
Summary|When switch controlling |[7/8/9 Regression] When
|expression is promoted from |switch controlling
|type narrower than int, GCC |expression is promoted from
|does not diagnose identical |type narrower than int, GCC
|cases |does not diagnose identical
| |cases
--- Comment #3 from Joseph S. Myers <jsm28 at gcc dot gnu.org> ---
This is a regression introduced in 4.0 relative to 3.4.
More information about the Gcc-bugs
mailing list