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: Allow generate_element_init in tree-sra.c to fail


> 
>     Well it looks like we can no longer call scalarize_init with NULL, as
>     the comment says before that function, we treat NULL as an empty
>     constructor.
> 
> It's precisely because we treat it as empty that this test has to be there
> because a null DECL_INITIAL doesn't mean that.

Doesn't empty really mean filled with zero?

Andrew


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