* call.c (resolve_args): Remove redundant test.
authorVolker Reichelt <reichelt@igpm.rwth-aachen.de>
Thu, 6 Oct 2005 14:03:36 +0000 (14:03 +0000)
committerVolker Reichelt <reichelt@gcc.gnu.org>
Thu, 6 Oct 2005 14:03:36 +0000 (14:03 +0000)
From-SVN: r105034

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

index 3a1737d49e1e52c7ba6a1f43020e340040084ae8..f3f03619bb9692444e0915e887500bccf8c0959c 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 2843b16703153f0a5de543abba667185e23db567..400a805d88f2926a8de4547851147a8a0133b20d 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)))
        {