[C++ patch] Allow p->~T() when T is a vector

Jason Merrill jason@redhat.com
Thu Aug 2 14:33:00 GMT 2012


On 08/02/2012 07:42 AM, Marc Glisse wrote:
> +	    if (SCALAR_TYPE_P (object_type)
> +		|| TREE_CODE (object_type) == VECTOR_TYPE)

You can use "scalarish_type_p" for this test.  OK with that change.

Jason



More information about the Gcc-patches mailing list