aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree.c
diff options
context:
space:
mode:
authorEric Botcazou <ebotcazou@adacore.com>2005-09-11 21:17:51 +0000
committerEric Botcazou <ebotcazou@gcc.gnu.org>2005-09-11 21:17:51 +0000
commit4c223d6a3891ddb95111b9a1c430b1875f9ee8fd (patch)
treee40a48ba2e62dc08f9aaef74e052dd2c199db44e /gcc/tree.c
parent91002f1b0971b2a72ecc433d98f7edeae98734b6 (diff)
downloadgcc-4c223d6a3891ddb95111b9a1c430b1875f9ee8fd.zip
gcc-4c223d6a3891ddb95111b9a1c430b1875f9ee8fd.tar.gz
gcc-4c223d6a3891ddb95111b9a1c430b1875f9ee8fd.tar.bz2
tree.c (contains_placeholder_p): Properly handle CALL_EXPR again.
* tree.c (contains_placeholder_p) <tcc_expression>: Properly handle CALL_EXPR again. From-SVN: r104144
Diffstat (limited to 'gcc/tree.c')
-rw-r--r--gcc/tree.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/gcc/tree.c b/gcc/tree.c
index a7eeeae..448d329 100644
--- a/gcc/tree.c
+++ b/gcc/tree.c
@@ -2058,6 +2058,9 @@ contains_placeholder_p (tree exp)
|| CONTAINS_PLACEHOLDER_P (TREE_OPERAND (exp, 1))
|| CONTAINS_PLACEHOLDER_P (TREE_OPERAND (exp, 2)));
+ case CALL_EXPR:
+ return CONTAINS_PLACEHOLDER_P (TREE_OPERAND (exp, 1));
+
default:
break;
}