Re: [PATCH] c++: Fix ICE with nsdmi [PR99705]

2021-03-23 Thread Jakub Jelinek via Gcc-patches
On Tue, Mar 23, 2021 at 04:51:52PM -0400, Jason Merrill wrote: > > --- gcc/cp/tree.c.jj2021-03-18 09:49:22.112712307 +0100 > > +++ gcc/cp/tree.c 2021-03-23 00:08:35.901724895 +0100 > > @@ -3128,6 +3128,35 @@ bot_manip (tree* tp, int* walk_subtrees, > > } > > return NULL_TREE;

Re: [PATCH] c++: Fix ICE with nsdmi [PR99705]

2021-03-23 Thread Jason Merrill via Gcc-patches
On 3/23/21 5:57 AM, Jakub Jelinek wrote: Hi! When adding P0784R7 constexpr new support, we still didn't have P1331R2 implemented and so I had to change also build_vec_delete_1 - instead of having uninitialized tbase temporary later initialized by MODIFY_EXPR I've set the DECL_INITIAL for it - be

[PATCH] c++: Fix ICE with nsdmi [PR99705]

2021-03-23 Thread Jakub Jelinek via Gcc-patches
Hi! When adding P0784R7 constexpr new support, we still didn't have P1331R2 implemented and so I had to change also build_vec_delete_1 - instead of having uninitialized tbase temporary later initialized by MODIFY_EXPR I've set the DECL_INITIAL for it - because otherwise it would be rejected during