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
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=56991
Paolo Carlini changed:
What|Removed |Added
Status|NEW |RESOLVED
Resolution|---
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56991
Paolo Carlini changed:
What|Removed |Added
Status|UNCONFIRMED |NEW
Last reconfirmed|
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; };
>
> //
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.
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 }
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56991
Paolo Carlini changed:
What|Removed |Added
Summary|constexpr |constexpr
|std