Fix for PR debug/46955

Jason Merrill jason@redhat.com
Thu Dec 16 20:08:00 GMT 2010


On 12/16/2010 03:30 AM, Dodji Seketeli wrote:
> +  for (i = 0; i < vec_len; ++i)
> +    {
> +      TREE_VEC_ELT (folded_elems, i) =
> +	  cplus_expand_constant (TREE_VEC_ELT (elems, i));
> +    }

I'd rather avoid calling cplus_expand_constant on non-expression 
template arguments even though it currently works fine; let's check 
!TYPE_P first.  OK with that change.

Jason



More information about the Gcc-patches mailing list