This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/71166] [6/7 Regression] ICE with nested constexpr/initializer
- From: "jakub at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Wed, 18 May 2016 07:51:31 +0000
- Subject: [Bug c++/71166] [6/7 Regression] ICE with nested constexpr/initializer
- Auto-submitted: auto-generated
- References: <bug-71166-4 at http dot gcc dot gnu dot org/bugzilla/>
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.