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/81845] const union's field doesn't interpret as const in switch/case


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

--- Comment #6 from Jonathan Wakely <redi at gcc dot gnu.org> ---
(In reply to Aleksandr Slobodeniuk from comment #0)
> What's funny is that I didn't find any compiler, that could compile it.

That usually means it's not a bug then.

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