This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/56545] internal compiler error: in build_data_member_initialization, at cp/semantics.c:5790


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;
}


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]