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


    This is wrong as we were checking for error_mark_node before and now we
    are checking for a null pointer.

I don't completely understand how it worked before without checking for
a null pointer, but the check for errror_mark_node has become redundant
because the init function will return false in that case.


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