OSDN Git Service

* tree.c (contains_placeholder_p) <tcc_expression>: Properly
authorebotcazou <ebotcazou@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 11 Sep 2005 21:17:51 +0000 (21:17 +0000)
committerebotcazou <ebotcazou@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 11 Sep 2005 21:17:51 +0000 (21:17 +0000)
handle CALL_EXPR again.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@104144 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/tree.c

index 45fce64..d763ece 100644 (file)
@@ -1,3 +1,8 @@
+2005-09-11  Eric Botcazou  <ebotcazou@adacore.com>
+
+       * tree.c (contains_placeholder_p) <tcc_expression>: Properly
+       handle CALL_EXPR again.
+
 2005-09-11  Richard Earnshaw  <richard.earnshaw@arm.com>
 
        * arm/predicates.md (alignable_memory_operand): Delete.
index a7eeeae..448d329 100644 (file)
@@ -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;
        }