[Bug c++/56991] constexpr std::initializer_list rejects too complex initialization

2014-08-29 Thread paolo at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=56991 --- Comment #6 from paolo at gcc dot gnu.org --- Author: paolo Date: Fri Aug 29 13:12:02 2014 New Revision: 214729 URL: https://gcc.gnu.org/viewcvs?rev=214729&root=gcc&view=rev Log: 2014-08-29 Paolo Carlini PR c++/56991 * g++.dg/cpp0

[Bug c++/56991] constexpr std::initializer_list rejects too complex initialization

2014-08-29 Thread paolo.carlini at oracle dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=56991 Paolo Carlini changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug c++/56991] constexpr std::initializer_list rejects too complex initialization

2013-05-24 Thread paolo.carlini at oracle dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56991 Paolo Carlini changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug c++/56991] constexpr std::initializer_list rejects too complex initialization

2013-05-24 Thread daniel.kruegler at googlemail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56991 --- Comment #4 from Daniel Krügler --- (In reply to Matheus Izvekov from comment #2) > I get also a similar bug: > > #include > > //is accepted by gcc > constexpr std::initializer_list good1 = { 1, 2, 3 }; > > struct foo { int a, b; }; > > //

[Bug c++/56991] constexpr std::initializer_list rejects too complex initialization

2013-04-18 Thread morwenn29 at hotmail dot fr
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56991 --- Comment #3 from Morwenn 2013-04-18 08:12:44 UTC --- (In reply to comment #1) > I don't see the compiler *crashing*, I see it *rejecting* the snippet. Indeed, sorry for the poor formulation.

[Bug c++/56991] constexpr std::initializer_list rejects too complex initialization

2013-04-18 Thread mizvekov at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56991 --- Comment #2 from Matheus Izvekov 2013-04-18 08:10:19 UTC --- I get also a similar bug: #include //is accepted by gcc constexpr std::initializer_list good1 = { 1, 2, 3 }; struct foo { int a, b; }; //still ok constexpr foo good2 = { 1, 2 }

[Bug c++/56991] constexpr std::initializer_list rejects too complex initialization

2013-04-18 Thread paolo.carlini at oracle dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56991 Paolo Carlini changed: What|Removed |Added Summary|constexpr |constexpr |std