On 09/15/2012 09:01 AM, Marc Glisse wrote:
+ /* For vector types, pick a non-opaque variant. */ + if (TREE_CODE (type) == VECTOR_TYPE) + type = cp_build_qualified_type (TYPE_MAIN_VARIANT (type), + cp_type_quals (type));
I believe that template type deduction drops opacity by calling strip_typedefs, which also preserves type attributes. So I think let's use it here as well. OK with that change.
Jason