[Bug c++/79627] Ice with type of VLA in lambda

jakub at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Mon Feb 20 09:42:00 GMT 2017


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

--- Comment #1 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
This is nasty, all we have is a SAVE_EXPR that is evaluated both outside of the
lambda and inside of it, so ideally we'd capture a temporary assigned that
SAVE_EXPR and use it inside of the lambda.  But no idea how to find out that
the SAVE_EXPR actually is evaluated also outside of the lambda.


More information about the Gcc-bugs mailing list