Commit f02d609c by Jason Merrill

oops

From-SVN: r18122
parent c8fcb331
...@@ -962,7 +962,9 @@ process_init_constructor (type, init, elts) ...@@ -962,7 +962,9 @@ process_init_constructor (type, init, elts)
{ {
register tree next1; register tree next1;
if (TREE_PURPOSE (tail)) if (TREE_PURPOSE (tail)
&& (TREE_CODE (TREE_PURPOSE (tail)) != INTEGER_CST
|| TREE_INT_CST_LOW (TREE_PURPOSE (tail)) != i))
sorry ("non-trivial labeled initializers"); sorry ("non-trivial labeled initializers");
if (TREE_VALUE (tail) != 0) if (TREE_VALUE (tail) != 0)
......
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