[Bug c++/89214] [7/8/9 Regression] ICE in digest_init_r, at cp/typeck2.c:1211 with -std=c++17

mpolacek at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Fri Feb 8 21:45:00 GMT 2019


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89214

--- Comment #5 from Marek Polacek <mpolacek at gcc dot gnu.org> ---
But we actually called reshape_init:

 7146       expr = reshape_init (totype, expr, complain);
 7147       expr = get_target_expr_sfinae (digest_init (totype, expr,
complain),
 7148                                      complain);

expr was {{TARGET_EXPR<...>}}, after the reshape_init {TARGET_EXPR<...>}, but
that still crashes.


More information about the Gcc-bugs mailing list