From 3d058ebb6ffcac960aa8604ce56b9077854b582a Mon Sep 17 00:00:00 2001 From: Eric Botcazou Date: Thu, 17 Jan 2019 12:12:58 +0000 Subject: gimple-ssa-isolate-paths.c (stmt_uses_name_in_undefined_way): Replace flag_non_call_exceptions with cfun->can_throw_non_call_exceptions. * gimple-ssa-isolate-paths.c (stmt_uses_name_in_undefined_way): Replace flag_non_call_exceptions with cfun->can_throw_non_call_exceptions. (stmt_uses_0_or_null_in_undefined_way): Likewise. * tree-ssa-alias.c (same_addr_size_stores_p): Likewise. From-SVN: r268018 --- gcc/gimple-ssa-isolate-paths.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'gcc/gimple-ssa-isolate-paths.c') diff --git a/gcc/gimple-ssa-isolate-paths.c b/gcc/gimple-ssa-isolate-paths.c index 1a9e0a5..33fe352 100644 --- a/gcc/gimple-ssa-isolate-paths.c +++ b/gcc/gimple-ssa-isolate-paths.c @@ -270,7 +270,7 @@ stmt_uses_name_in_undefined_way (gimple *use_stmt, tree name, location_t loc) divisor. */ if (!POINTER_TYPE_P (TREE_TYPE (name))) { - if (!flag_non_call_exceptions) + if (!cfun->can_throw_non_call_exceptions) return is_divmod_with_given_divisor (use_stmt, name); return false; } @@ -309,7 +309,7 @@ stmt_uses_name_in_undefined_way (gimple *use_stmt, tree name, location_t loc) bool stmt_uses_0_or_null_in_undefined_way (gimple *stmt) { - if (!flag_non_call_exceptions + if (!cfun->can_throw_non_call_exceptions && is_divmod_with_given_divisor (stmt, integer_zero_node)) return true; -- cgit v1.1