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++/77659] [5/6/7 Regression] internal compiler error: in gimplify_expr, at gimplify.c:8858


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77659

Marek Polacek <mpolacek at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |mpolacek at gcc dot gnu.org

--- Comment #5 from Marek Polacek <mpolacek at gcc dot gnu.org> ---
The PLACEHOLDER_EXPR comes from get_nsdmi
 539   if (!in_ctor)
 540     {
 541       /* Use a PLACEHOLDER_EXPR when we don't have a 'this' parameter to
 542          refer to; constexpr evaluation knows what to do with it.  */
 543       current_class_ref = build0 (PLACEHOLDER_EXPR, DECL_CONTEXT
(member));
 544       current_class_ptr = build_address (current_class_ref);
 545     }
but no idea how tsubst_copy should handle that.

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