https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118388
--- Comment #4 from Simon Martin <simartin at gcc dot gnu.org> --- We ended up doing a different fix for #118319 and the case I mentionned in the initial comment does not ICE, but the underlying problem still exists. I ran the c++ testsuite with the use of -fpermissive for all tests, and got ICEs due to a `gcc_assert ($SOME_EXPRESSION_WITH_SEEN_ERROR);` for the following tests - g++.dg/cpp0x/constexpr-ice20.C - g++.dg/cpp0x/inh-ctor37.C - g++.dg/cpp0x/lambda/lambda-ice21.C - g++.dg/cpp0x/lambda/lambda-ice5.C - g++.dg/cpp0x/noexcept28.C - g++.dg/cpp0x/pr31437.C - g++.dg/cpp0x/pr34056.C - g++.dg/cpp2a/lambda-uneval25.C - g++.dg/ext/unary_trait_incomplete.C