http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59633
--- Comment #3 from Marc Glisse <glisse at gcc dot gnu.org> --- (In reply to Volker Reichelt from comment #2) > Well, because the C-frontend compiles it, the C++-frontend used to compile > it and even clang (3.2) compiles it, I was under the impression that this > should compile (using the underlying type of the enum). Ok, I'll let someone else decide what behavior is wanted. > And of course, the docs are at least incomplete, if not inaccurate. > E.g. the vector extension of the ternary operator ?: is missing in this > chapter. The doc for ?: is under review. If other parts are incomplete or inaccurate, don't hesitate to file bugs (or even post doc patches).