http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51033
--- Comment #21 from Manuel López-Ibáñez <manu at gcc dot gnu.org> 2012-04-22 14:56:28 UTC --- (In reply to comment #19) > With this patch, g++ passes the few __builtin_shuffle tests I tried, and > generates generic code for non-constant indexes and special code for constant > indexes. I don't really know what to do about the testsuite. The tests > exercise > the backend a lot, and it probably doesn't make sense to run everything with > both gcc and g++. But we still want to test that g++ accepts the syntax, and > maybe even that it handles constants well. What does it mean "exercise the backend a lot"? Do you mean it takes a lot of time? I haven't looked at the tests, but I think it is not a problem to run compile-only tests with both gcc and g++. > As usual, my limited knowledge of the compiler means I may have missed > fundamental things. It looks pretty good to me.