Commit e5cfb88f by Richard Kenner

(set_init_label): Don't die if an entire brace-pair level is

superfluous in the containing level.

From-SVN: r10282
parent 5502823b
...@@ -5737,6 +5737,11 @@ set_init_label (fieldname) ...@@ -5737,6 +5737,11 @@ set_init_label (fieldname)
tree tail; tree tail;
int passed = 0; int passed = 0;
/* Don't die if an entire brace-pair level is superfluous
in the containing level. */
if (constructor_type == 0)
return;
for (tail = TYPE_FIELDS (constructor_type); tail; for (tail = TYPE_FIELDS (constructor_type); tail;
tail = TREE_CHAIN (tail)) tail = TREE_CHAIN (tail))
{ {
......
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