[Bug c++/60417] [DR 1518] Bogus error on C++03 aggregate initialization

2015-10-23 Thread jason at gcc dot gnu.org
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.

[Bug c++/60417] [DR 1518] Bogus error on C++03 aggregate initialization

2015-10-23 Thread jason at gcc dot gnu.org
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

[Bug c++/60417] [DR 1518] Bogus error on C++03 aggregate initialization

2015-06-15 Thread jason at gcc dot gnu.org
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

[Bug c++/60417] [DR 1518] Bogus error on C++03 aggregate initialization

2015-05-05 Thread jason at gcc dot gnu.org
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

[Bug c++/60417] [DR 1518] Bogus error on C++03 aggregate initialization

2014-08-20 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60417 Jason Merrill changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug c++/60417] [DR 1518] Bogus error on C++03 aggregate initialization

2014-08-19 Thread jason at gcc dot gnu.org
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_

[Bug c++/60417] [DR 1518] Bogus error on C++03 aggregate initialization

2014-08-06 Thread jason at gcc dot gnu.org
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

[Bug c++/60417] [DR 1518] Bogus error on C++03 aggregate initialization

2014-08-01 Thread jason at gcc dot gnu.org
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_

[Bug c++/60417] [DR 1518] Bogus error on C++03 aggregate initialization

2014-03-27 Thread redi at gcc dot gnu.org
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

[Bug c++/60417] [DR 1518] Bogus error on C++03 aggregate initialization

2014-03-05 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60417 Richard Biener changed: What|Removed |Added Target Milestone|4.9.0 |---

[Bug c++/60417] [DR 1518] Bogus error on C++03 aggregate initialization

2014-03-05 Thread redi at gcc dot gnu.org
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

[Bug c++/60417] [DR 1518] Bogus error on C++03 aggregate initialization

2014-03-04 Thread daniel.kruegler at googlemail dot com
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

[Bug c++/60417] [DR 1518] Bogus error on C++03 aggregate initialization

2014-03-04 Thread jakub at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60417 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org Summa