Makefile.in (INTERNAL_FN_DEF, [...]): Define.
[gcc.git] / gcc / tree-ssa-sccvn.c
index 29b80ea5780c0ec88c8bc42a25a474bd13f83ad2..ab56e3d534a0c9954b315b0ab527cbd3b1fce4cf 100644 (file)
@@ -3125,7 +3125,8 @@ visit_use (tree use)
          /* ???  We should handle stores from calls.  */
          else if (TREE_CODE (lhs) == SSA_NAME)
            {
-             if (gimple_call_flags (stmt) & (ECF_PURE | ECF_CONST))
+             if (!gimple_call_internal_p (stmt)
+                 && gimple_call_flags (stmt) & (ECF_PURE | ECF_CONST))
                changed = visit_reference_op_call (lhs, stmt);
              else
                changed = defs_to_varying (stmt);