Commit 67c8d7de by Richard Kenner

(contains_placeholder): Return 0 for WITH_RECORD_EXPR.

From-SVN: r5620
parent 518e5ce8
......@@ -1887,6 +1887,11 @@ contains_placeholder_p (exp)
register enum tree_code code = TREE_CODE (exp);
tree inner;
/* If we have a WITH_RECORD_EXPR, it "cancels" any PLACEHOLDER_EXPR
in it since it is supplying a value for it. */
if (code == WITH_RECORD_EXPR)
return 0;
switch (TREE_CODE_CLASS (code))
{
case 'r':
......
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