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++/53524] [4.7/4.8 Regression] Bogus and unsuppressible enum comparison warning


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

--- Comment #16 from Paolo Carlini <paolo.carlini at oracle dot com> 2012-05-31 17:48:06 UTC ---
In any case I recommend not mixing together here different issues: the first
one, subject of this report, is overeager warning in open enum context with
conditional operators (I understand that by now we agree that the warning is
behaving as designed, only it seems sensible to have a way to at least
controlling it, cmp C front end, EDG); the second one is about speculative
defects in the way the C++ front end handles enumerated types. For the latter
we need testcases in Bugzilla, actually a separate PR should be opened.


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