This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/56545] internal compiler error: in build_data_member_initialization, at cp/semantics.c:5790
- From: "markus at trippelsdorf dot de" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Tue, 05 Mar 2013 19:03:01 +0000
- Subject: [Bug c++/56545] internal compiler error: in build_data_member_initialization, at cp/semantics.c:5790
- Auto-submitted: auto-generated
- References: <bug-56545-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56545
Markus Trippelsdorf <markus at trippelsdorf dot de> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |markus at trippelsdorf dot
| |de
--- Comment #2 from Markus Trippelsdorf <markus at trippelsdorf dot de> 2013-03-05 19:03:01 UTC ---
Probably dup of Bug 54126.
Reduced:
template<typename>struct StringyInterface
{};
template<typename>struct StringyImplementation;
template<>struct StringyImplementation<int>: StringyInterface<int>
{};
template<typename A>struct Stringy
{
const StringyInterface<A>& verifyConforms =
StringyImplementation<A>();
};
void
fn1()
{
Stringy<int>().verifyConforms;
}