On Fri, Nov 21, 2025 at 10:53:49PM +0100, Daniele Sahebi wrote:
> Changed changelog, hopefully everything is right now.
> Also sorry this is taking so long...
> Bootstrapped and regtested on x86_64-linux-unknown-gnu.
> 
> ---
> 
> Currently, build_over_call calls build_cplus_new in template decls, generating
> a TARGET_EXPR that it then passes to fold_non_dependent_expr, which ends up
> calling tsubst_expr, and since tsubst_expr doesn't handle TARGET_EXPRs, it 
> ICEs.
> 
> Since there is no way for this code path to be executed without causing an
> ICE, I believe it can be removed.
> 
>       PR c++/122658
> 
> gcc/cp/ChangeLog:
> 
>       * call.cc (build_over_call): Don't call build_cplus_new in
>         template declarations

This needs a period at the end, and be indented with one \t.  You
do not need to repost the patch just because of this.

Marek

Reply via email to