Notice some mis-alignment for gen_kids_1 right hand braces as below:
if ((_q50 == _q20 && ! TREE_SIDE_EFFECTS (...
{
if ((_q51 == _q21 && ! TREE_SIDE_EFFECTS (...
{
{
tree captures[2] ATTRIBUTE_UNUSED = {...
{
res_ops[0] = captures[0];
res_ops[1] = captures[1];
if (UNLIKELY (debug_dump)) ...
return true;
}
}
}
}
} // mis-aligned here.
}
The below test are passed for this patch:
* The x86 bootstrap test.
* The x86 fully regression test.
gcc/ChangeLog:
* genmatch.cc (dt_node::gen_kids_1): Fix indenet mis-aligned.
Signed-off-by: Pan Li <pan2.li@intel.com>
child_opname, kid_opname, j);
}
preds[i]->gen_kids (f, indent + 4, gimple, depth);
- fprintf (f, "}\n");
+ fprintf_indent (f, indent, " }\n");
indent -= 2;
fprintf_indent (f, indent, "}\n");
}