This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/70627] [6 Regression] internal compiler error: verify_type failed
- From: "jakub at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Mon, 11 Apr 2016 21:20:01 +0000
- Subject: [Bug c++/70627] [6 Regression] internal compiler error: verify_type failed
- Auto-submitted: auto-generated
- References: <bug-70627-4 at http dot gcc dot gnu dot org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70627
Jakub Jelinek <jakub at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |jason at gcc dot gnu.org
--- Comment #5 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Reduced testcase (-O2 -g):
struct D;
struct A
{
D *operator->();
};
struct B
{
template <typename... T> void foo (T &&...) {}
};
typedef unsigned char G;
enum class H : G;
struct C
{
};
struct D : C
{
B foo () const { B a; a.foo (d); }
H d;
};
struct F : C
{
void foo ();
A f;
};
enum class H : unsigned char;
void F::foo () { B b = f->foo (); }