This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/84441] [6/7/8 Regression] Internal compiler error
- 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, 19 Feb 2018 13:38:50 +0000
- Subject: [Bug c++/84441] [6/7/8 Regression] Internal compiler error
- Auto-submitted: auto-generated
- References: <bug-84441-4@http.gcc.gnu.org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84441
Jakub Jelinek <jakub at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |jakub at gcc dot gnu.org
Target Milestone|--- |6.5
--- Comment #2 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Reduced testcase:
struct A;
struct B { using C = int *; template <typename> using D = A; };
struct F : B { struct G { typedef D<char> h; }; };
struct I {
struct J { J (F::C, A &); F::C k; } l;
F::G::h &foo ();
I (I &&) : l (0, foo ()) {}
};
struct N { I o; int e; };
N bar ();
struct E : N { E () : N (0 ? bar () : bar ()) {} };
void
baz ()
{
E ();
}