http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51033
--- Comment #32 from Allan Jensen <linux at carewolf dot com> 2013-02-17 15:23:49 UTC --- (In reply to comment #31) > (In reply to comment #30) > > Another example is binary operators between scalar and vectors. In C the > > scalar > > is automatically treated as a vector, but in C++ it results in a type error. > > That's been fixed already. I think the C++ front-end currently (4.8) supports > _more_ operations on vectors than the C front-end (in particular ?: ). Ah, right. I was testing with the wrong compiler. For simplicity I will just restrict our use of vector extensions to g++ >=4.8. Thanks for the great work. Looking forward to 4.8.0.