Commit f611c78a by Jason Merrill Committed by Jason Merrill

re PR c++/60227 ([C++11] ICE using brace-enclosed initializer list to initialize array)

	PR c++/60227
	Fix ChangeLog

From-SVN: r208009
parent 0d4af074
...@@ -11,7 +11,7 @@ ...@@ -11,7 +11,7 @@
* decl.c (cp_complete_array_type, maybe_deduce_size_from_array_init): * decl.c (cp_complete_array_type, maybe_deduce_size_from_array_init):
Don't get confused by a CONSTRUCTOR that already has a type. Don't get confused by a CONSTRUCTOR that already has a type.
PR c++/60277 PR c++/60227
* call.c (build_array_conv): Don't crash on VLA. * call.c (build_array_conv): Don't crash on VLA.
PR c++/60248 PR c++/60248
......
// PR c++/60277 // PR c++/60227
// { dg-options "-std=c++1y -pedantic-errors" } // { dg-options "-std=c++1y -pedantic-errors" }
void foo(int n) void foo(int n)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment