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 51621


Hi,

this ICE - which leads to worse diagnostics - seems caused by a trivial typo: to mean value initialization diagnose_non_constexpr_vec_init is passing zoid_zero_node instead of void_type_node to build_vec_init_elt. My guess is also confirmed by the beginning of the other caller, build_vec_init_expr, which evidently has void_type_node meaning value initialization.

The below tested x86_64-linux.

Thanks,
Paolo.

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

Attachment: CL_51621
Description: Text document

Attachment: patch_51621
Description: Text document


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