* call.c (resolve_args): Remove redundant test.
authorreichelt <reichelt@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 6 Oct 2005 14:03:36 +0000 (14:03 +0000)
committerreichelt <reichelt@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 6 Oct 2005 14:03:36 +0000 (14:03 +0000)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@105034 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/cp/ChangeLog
gcc/cp/call.c

index 3a1737d..f3f0361 100644 (file)
@@ -1,3 +1,7 @@
+2005-10-06  Volker Reichelt  <reichelt@igpm.rwth-aachen.de>
+
+       * call.c (resolve_args): Remove redundant test.
+
 2005-10-05  Paolo Bonzini  <bonzini@gnu.org>
 
        PR tree-optimization/21419
index 2843b16..400a805 100644 (file)
@@ -2689,7 +2689,7 @@ resolve_args (tree args)
     {
       tree arg = TREE_VALUE (t);
 
-      if (arg == error_mark_node || error_operand_p (arg))
+      if (error_operand_p (arg))
        return error_mark_node;
       else if (VOID_TYPE_P (TREE_TYPE (arg)))
        {