This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/71166] [6/7 Regression] ICE with nested constexpr/initializer


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.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]