[Bug c++/85761] [8/9 Regression] ICE on invalid in rtl with uncaptured constexpr
jason at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Sun Jun 3 20:02:00 GMT 2018
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85761
--- Comment #3 from Jason Merrill <jason at gcc dot gnu.org> ---
Author: jason
Date: Sun Jun 3 20:01:28 2018
New Revision: 261131
URL: https://gcc.gnu.org/viewcvs?rev=261131&root=gcc&view=rev
Log:
PR c++/85761 - ICE with ill-formed use of const outer variable.
* expr.c (mark_use): Handle location wrappers.
Added:
branches/gcc-8-branch/gcc/testsuite/g++.dg/cpp0x/lambda/lambda-const8.C
Modified:
branches/gcc-8-branch/gcc/cp/ChangeLog
branches/gcc-8-branch/gcc/cp/expr.c
More information about the Gcc-bugs
mailing list