http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55281
--- Comment #5 from Marc Glisse <glisse at gcc dot gnu.org> 2012-11-12 16:18:52 UTC --- (In reply to comment #1) [ Using ?: with a vector condition ] > I was surprised only C++ handles this and not C BTW. Sorry, I didn't have time to do a C version (harder than C++ because of things like c_wrap_maybe_const that I don't understand yet). Even the C++ version isn't documented yet (I should do it), because it has a number of bugs like this one. By the way, I assume you are not calling pedantic_omit_one_operand_loc because the vector operand is unlikely to have a side effect?