https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71166
Jakub Jelinek <jakub at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jason at gcc dot gnu.org, | |nathan at gcc dot gnu.org Target Milestone|--- |6.2 --- Comment #2 from Jakub Jelinek <jakub at gcc dot gnu.org> --- Yes, it is indeed r235033. I have no idea how is constexpr handling meant to work vs. gimplification though, perhaps this is also related to PR68949. What happens in this PR is that we process some constexpr stuff, then gimplify MakeFoo and then process further constexpr stuff. But gimplification is destructive, destroys the individual parts of DECL_SAVED_TREE as well as clears DECL_SAVED_TREE at the end.