PATCH to gimplify_init_constructor for c++/38410

Jason Merrill jason@redhat.com
Tue Dec 9 18:32:00 GMT 2008


Eric Botcazou wrote:
>>> I cannot read Jason's mind, but I think that it's because the old
>>> definition "num_nonzero_elements < num_type_elements/4" cannot be true
>>> for num_type_elements smaller than 4.
>> Yep.
> 
> Thanks, then
> 
>   sparse = (num_nonzero_elements == 0)
> 	   || (num_nonzero_elements < num_type_elements/4);
> 
> would achieve the same goal without changing the definition of sparseness.

It would, but 1/4 non-zero elements still seems sparse to me.  If you 
think it's important, I'll do that.

Jason



More information about the Gcc-patches mailing list