https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60417
--- Comment #13 from Jason Merrill ---
Following discussions of DR1518/1630 in Kona, the testcase is now ill-formed in
C++11 and up.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60417
--- Comment #12 from Jason Merrill ---
Author: jason
Date: Sat Oct 24 02:58:10 2015
New Revision: 229283
URL: https://gcc.gnu.org/viewcvs?rev=229283&root=gcc&view=rev
Log:
DR 1518
DR 1630
PR c++/54835
PR c++/60417
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60417
Bug 60417 depends on bug 54835, which changed state.
Bug 54835 Summary: [C++11][DR 1518] Explicit default constructors not respected
during copy-list-initialization
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=54835
What|Removed
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60417
--- Comment #11 from Jason Merrill ---
Author: jason
Date: Wed May 6 02:07:34 2015
New Revision: 222836
URL: https://gcc.gnu.org/viewcvs?rev=222836&root=gcc&view=rev
Log:
DR 1518
DR 1630
PR c++/54835
PR c++/60417
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60417
Jason Merrill changed:
What|Removed |Added
Status|ASSIGNED|RESOLVED
Resolution|---
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60417
--- Comment #9 from Jason Merrill ---
Author: jason
Date: Wed Aug 20 01:16:31 2014
New Revision: 214205
URL: https://gcc.gnu.org/viewcvs?rev=214205&root=gcc&view=rev
Log:
PR c++/60417
* init.c (build_vec_init): Set CONSTRUCTOR_IS_DIRECT_
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60417
--- Comment #8 from Jason Merrill ---
Author: jason
Date: Thu Aug 7 01:44:11 2014
New Revision: 213689
URL: https://gcc.gnu.org/viewcvs?rev=213689&root=gcc&view=rev
Log:
PR c++/60417
* init.c (build_vec_init): Reorganize earlier change
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60417
--- Comment #7 from Jason Merrill ---
Author: jason
Date: Sat Aug 2 00:52:09 2014
New Revision: 213511
URL: https://gcc.gnu.org/viewcvs?rev=213511&root=gcc&view=rev
Log:
PR c++/60417
* init.c (build_vec_init): Set CONSTRUCTOR_IS_DIRECT_
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60417
--- Comment #6 from Jonathan Wakely ---
Still a regression for aggregate-initialization of arrays:
struct A { explicit A(int = 0); };
int main()
{
A a[1] = { };
}
zzz.cc: In function ‘int main()’:
zzz.cc:5:14: error: converting to ‘A’ from in
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60417
Richard Biener changed:
What|Removed |Added
Target Milestone|4.9.0 |---
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60417
--- Comment #5 from Jonathan Wakely ---
I think Daniel's question is tangential because the testcase can be modified
like so:
B b{};
Or like so:
struct A { explicit A(int = 0); };
struct B { int i; A a; };
int main()
{
B b = { 1 };
}
Now
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60417
--- Comment #4 from Daniel Krügler ---
I have submitted a request to the core group for clarification, but personally
I believe that the intention is clearly to never implicitly-declare an explicit
default constructor, just as we have the same rul
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60417
Jakub Jelinek changed:
What|Removed |Added
CC||jakub at gcc dot gnu.org
Summa
13 matches
Mail list logo