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
* [Bug c++/60047] ICE with defaulted copy constructor and virtual base class 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 ` 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 ` (3 subsequent siblings) 4 siblings, 0 replies; 6+ messages in thread From: paolo.carlini at oracle dot com @ 2014-02-03 18:50 UTC (permalink / raw) To: gcc-bugs http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60047 Paolo Carlini <paolo.carlini at oracle dot com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed| |2014-02-03 CC| |jason at gcc dot gnu.org Summary|ICE with defaulted |ICE with defaulted copy |copy-constructor and |constructor and virtual |virtual base class |base class Ever confirmed|0 |1 ^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug c++/60047] [4.7/4.8/4.9 Regression] ICE with defaulted copy constructor and virtual base class 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 ` paolo.carlini at oracle dot com 2014-02-05 16:34 ` paolo.carlini at oracle dot com ` (2 subsequent siblings) 4 siblings, 0 replies; 6+ messages in thread From: paolo.carlini at oracle dot com @ 2014-02-03 20:22 UTC (permalink / raw) To: gcc-bugs http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60047 Paolo Carlini <paolo.carlini at oracle dot com> changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|ICE with defaulted copy |[4.7/4.8/4.9 Regression] |constructor and virtual |ICE with defaulted copy |base class |constructor and virtual | |base class --- Comment #1 from Paolo Carlini <paolo.carlini at oracle dot com> --- It's a regression from 4.5. ^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug c++/60047] [4.7/4.8/4.9 Regression] ICE with defaulted copy constructor and virtual base class 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 4 siblings, 0 replies; 6+ messages in thread From: paolo.carlini at oracle dot com @ 2014-02-05 16:34 UTC (permalink / raw) To: gcc-bugs http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60047 Paolo Carlini <paolo.carlini at oracle dot com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED Assignee|unassigned at gcc dot gnu.org |paolo.carlini at oracle dot com --- Comment #2 from Paolo Carlini <paolo.carlini at oracle dot com> --- Mine. ^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug c++/60047] [4.7/4.8/4.9 Regression] ICE with defaulted copy constructor and virtual base class 2014-02-03 18:47 [Bug c++/60047] New: ICE with defaulted copy-constructor and virtual base class paolo.carlini at oracle dot com ` (2 preceding siblings ...) 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 4 siblings, 0 replies; 6+ messages in thread From: paolo at gcc dot gnu.org @ 2014-02-12 8:46 UTC (permalink / raw) To: gcc-bugs http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60047 --- Comment #3 from paolo at gcc dot gnu.org <paolo at gcc dot gnu.org> --- Author: paolo Date: Wed Feb 12 08:45:46 2014 New Revision: 207712 URL: http://gcc.gnu.org/viewcvs?rev=207712&root=gcc&view=rev Log: /cp 2014-02-12 Paolo Carlini <paolo.carlini@oracle.com> PR c++/60047 * method.c (implicitly_declare_fn): A constructor of a class with virtual base classes isn't constexpr (7.1.5p4). /testsuite 2014-02-12 Paolo Carlini <paolo.carlini@oracle.com> PR c++/60047 * g++.dg/cpp0x/pr60047.C: New. Added: trunk/gcc/testsuite/g++.dg/cpp0x/pr60047.C Modified: trunk/gcc/cp/ChangeLog trunk/gcc/cp/method.c trunk/gcc/testsuite/ChangeLog ^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug c++/60047] [4.7/4.8 Regression] ICE with defaulted copy constructor and virtual base class 2014-02-03 18:47 [Bug c++/60047] New: ICE with defaulted copy-constructor and virtual base class paolo.carlini at oracle dot com ` (3 preceding siblings ...) 2014-02-12 8:46 ` paolo at gcc dot gnu.org @ 2014-02-12 8:48 ` paolo.carlini at oracle dot com 4 siblings, 0 replies; 6+ messages in thread From: paolo.carlini at oracle dot com @ 2014-02-12 8:48 UTC (permalink / raw) To: gcc-bugs http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60047 Paolo Carlini <paolo.carlini at oracle dot com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED CC|jason at gcc dot gnu.org | Resolution|--- |FIXED Assignee|paolo.carlini at oracle dot com |unassigned at gcc dot gnu.org Target Milestone|--- |4.9.0 Summary|[4.7/4.8/4.9 Regression] |[4.7/4.8 Regression] ICE |ICE with defaulted copy |with defaulted copy |constructor and virtual |constructor and virtual |base class |base class --- Comment #4 from Paolo Carlini <paolo.carlini at oracle dot com> --- Fixed for 4.9.0. Note that there is no ICE in release mode anyway. ^ 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).