(contains_placeholder): Return 0 for WITH_RECORD_EXPR.

From-SVN: r5620
This commit is contained in:
Richard Kenner 1993-10-05 19:13:31 -04:00
parent 518e5ce827
commit 67c8d7deb2
1 changed files with 5 additions and 0 deletions

View File

@ -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':