public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/60047] New: ICE with defaulted copy-constructor and virtual base class
@ 2014-02-03 18:47 paolo.carlini at oracle dot com
  2014-02-03 18:50 ` [Bug c++/60047] ICE with defaulted copy constructor " paolo.carlini at oracle dot com
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: paolo.carlini at oracle dot com @ 2014-02-03 18:47 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60047

            Bug ID: 60047
           Summary: ICE with defaulted copy-constructor and virtual base
                    class
           Product: gcc
           Version: 4.9.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: paolo.carlini at oracle dot com

Testcase (noticed while looking into PR58871):

struct B { };

template<typename T> struct A : virtual B
{
   A();
   A(const A&);
};

template<typename T> A<T>::A(const A<T>&) = default;

A<int> a = A<int>();


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2014-02-12  8:48 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-02-03 18:47 [Bug c++/60047] New: ICE with defaulted copy-constructor and virtual base class paolo.carlini at oracle dot com
2014-02-03 18:50 ` [Bug c++/60047] ICE with defaulted copy constructor " paolo.carlini at oracle dot com
2014-02-03 20:22 ` [Bug c++/60047] [4.7/4.8/4.9 Regression] " paolo.carlini at oracle dot com
2014-02-05 16:34 ` paolo.carlini at oracle dot com
2014-02-12  8:46 ` paolo at gcc dot gnu.org
2014-02-12  8:48 ` [Bug c++/60047] [4.7/4.8 " paolo.carlini at oracle dot com

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).