aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree-ssa-copy.c
diff options
context:
space:
mode:
authorRichard Sandiford <rdsandiford@googlemail.com>2013-11-28 16:15:52 +0000
committerRichard Sandiford <rsandifo@gcc.gnu.org>2013-11-28 16:15:52 +0000
commitf5c8b24c731e1b0343cbdcc3438ab4c40e82fc71 (patch)
tree217f4d30b00b58d646c8c06c615dd102545bacf3 /gcc/tree-ssa-copy.c
parent3c716922ad6b887c3471cff5b9748d2e3ae3174d (diff)
downloadgcc-f5c8b24c731e1b0343cbdcc3438ab4c40e82fc71.zip
gcc-f5c8b24c731e1b0343cbdcc3438ab4c40e82fc71.tar.gz
gcc-f5c8b24c731e1b0343cbdcc3438ab4c40e82fc71.tar.bz2
tree-core.h (tree_base): Document use of static_flag for SSA_NAME.
gcc/ * tree-core.h (tree_base): Document use of static_flag for SSA_NAME. * tree.h (SSA_NAME_ANTI_RANGE_P, SSA_NAME_RANGE_TYPE): New macros. * tree-ssanames.h (set_range_info): Add range_type argument. (duplicate_ssa_name_range_info): Likewise. * tree-ssanames.c (set_range_info): Take the range type as argument and store it in SSA_NAME_ANTI_RANGE_P. (duplicate_ssa_name_range_info): Likewise. (get_range_info): Use SSA_NAME_ANTI_RANGE_P. (set_nonzero_bits): Update call to set_range_info. (duplicate_ssa_name_fn): Update call to duplicate_ssa_name_range_info. * tree-ssa-copy.c (fini_copy_prop): Likewise. * tree-vrp.c (remove_range_assertions): Update call to set_range_info. (vrp_finalize): Likewise, passing anti-ranges directly. From-SVN: r205489
Diffstat (limited to 'gcc/tree-ssa-copy.c')
-rw-r--r--gcc/tree-ssa-copy.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/tree-ssa-copy.c b/gcc/tree-ssa-copy.c
index e60b761..0dd5e14 100644
--- a/gcc/tree-ssa-copy.c
+++ b/gcc/tree-ssa-copy.c
@@ -576,6 +576,7 @@ fini_copy_prop (void)
&& SSA_NAME_RANGE_INFO (var)
&& !SSA_NAME_RANGE_INFO (copy_of[i].value))
duplicate_ssa_name_range_info (copy_of[i].value,
+ SSA_NAME_RANGE_TYPE (var),
SSA_NAME_RANGE_INFO (var));
}
}