https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85842
Jonathan Wakely <redi at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jason at gcc dot gnu.org Known to work| |7.3.0 Summary|Bogus -Wreturn-type with |[8/9 Regression] Bogus |generic lambda and |-Wreturn-type with generic |constexpr if |lambda and constexpr if Known to fail| |8.1.0, 9.0 --- Comment #1 from Jonathan Wakely <redi at gcc dot gnu.org> --- Started with r259043 PR c++/85149 - generic lambda and constexpr if. * pt.c (build_extra_args, add_extra_args): Split from tsubst_pack_expansion. (tsubst_expr) [IF_STMT]: Use them. * cp-tree.h (IF_STMT_EXTRA_ARGS): New.