Re: [PATCH 1/4] c++: Avoid building garbage trees from tsubst_requires_expr

2021-02-08 Thread Jason Merrill via Gcc-patches
On 2/8/21 2:03 PM, Patrick Palka wrote: Since we no longer partially instantiate REQUIRES_EXPRs, we don't need to rebuild its requirements during tsubst_requires_expr. OK. gcc/cp/ChangeLog: * constraint.cc (tsubst_simple_requirement): Just return boolean_true_node on success.

[PATCH 1/4] c++: Avoid building garbage trees from tsubst_requires_expr

2021-02-08 Thread Patrick Palka via Gcc-patches
Since we no longer partially instantiate REQUIRES_EXPRs, we don't need to rebuild its requirements during tsubst_requires_expr. gcc/cp/ChangeLog: * constraint.cc (tsubst_simple_requirement): Just return boolean_true_node on success. (tsubst_type_requirement): Likewise.