tree-ssa-operands.c (get_call_expr_operands): Add VUSE operands for noreturn functions.
authorZdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz>
Mon, 23 Aug 2004 07:47:31 +0000 (09:47 +0200)
committerZdenek Dvorak <rakdver@gcc.gnu.org>
Mon, 23 Aug 2004 07:47:31 +0000 (07:47 +0000)
* tree-ssa-operands.c (get_call_expr_operands): Add VUSE operands for
noreturn functions.

From-SVN: r86411

gcc/ChangeLog
gcc/tree-ssa-operands.c

index 29ac16e831fc741f841f2473088dbc0fb5c50c72..3550910b9d7534f52bd2b187508daee8513fcbba 100644 (file)
@@ -1,3 +1,8 @@
+2004-08-23  Zdenek Dvorak  <rakdver@atrey.karlin.mff.cuni.cz>
+
+       * tree-ssa-operands.c (get_call_expr_operands): Add VUSE operands for
+       noreturn functions.
+
 2004-08-23  Richard Sandiford  <rsandifo@redhat.com>
 
        * config/mips/mips.h (ISA_HAS_DCLZ_DCLO): Delete.
index 230167f84e94f8476f97498f5047aa8c172a56b0..5e49683f0f709c91972b8bfee585d7350cdbc4f5 100644 (file)
@@ -1378,7 +1378,7 @@ get_call_expr_operands (tree stmt, tree expr)
       if (TREE_SIDE_EFFECTS (expr)
          && !(call_flags & (ECF_PURE | ECF_CONST | ECF_NORETURN)))
        add_call_clobber_ops (stmt);
-      else if (!(call_flags & (ECF_CONST | ECF_NORETURN)))
+      else if (!(call_flags & ECF_CONST))
        add_call_read_ops (stmt);
     }
 }