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]

[C++ Patch] PR 51431


Hi,

for this ICE on invalid, where we crash because we try to set AGGR_INIT_ZERO_FIRST (ctor) = 1 on the error_mark_node returned by build_aggr_init_expr, I think it's fine to just move the check like in the below, because build_aggr_init_expr itself can handle ctor == error_mark_node.

Tested x86_64-linux.

Thanks,
Paolo.

///////////////////

Attachment: CL_51431
Description: Text document

Attachment: patch_51431
Description: Text document


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