http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58207
Jakub Jelinek <jakub at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |error-recovery
CC| |jason at gcc dot gnu.org
--- Comment #3 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Started with r195986.
Another testcase that ICEs:
struct C
{
virtual bool foo ();
};
struct D : public C
{
constexpr D () : C (6) {}
};
Changing sort_constexpr_mem_initializers to stop searching at the end of vector
and in that case just assert errorcount > 0 and return v unmodified fixes those
ICEs, though it is kind of ugly.