https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71570
Martin Sebor <msebor at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed| |2016-06-20 CC| |jason at gcc dot gnu.org, | |msebor at gcc dot gnu.org Summary|ICE on invalid C++11 code |[6/7 regression] ICE on |(with invalid variable |invalid variable capture in |capture) on |cxx_incomplete_type_diagnos |x86_64-linux-gnu: in |tic, at cp/typeck2.c:551 |cxx_incomplete_type_diagnos | |tic, at cp/typeck2.c:551 | Ever confirmed|0 |1 Known to fail| |6.1.0, 7.0 --- Comment #1 from Martin Sebor <msebor at gcc dot gnu.org> --- The ICE was introduced into GCC 6.0 in r232436: r232436 | jason | 2016-01-15 10:57:07 -0500 (Fri, 15 Jan 2016) | 6 lines PR c++/69257 * typeck.c (decay_conversion): Don't call mark_rvalue_use for array/function-to-pointer conversion. Call complete_type_or_maybe_complain for lvalue-to-rvalue conversion. * call.c (convert_like_real): Print call context if decay_conversion errors.