This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: PATCH to gimplify_init_constructor for c++/38410


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]