diff options
author | Richard Biener <rguenther@suse.de> | 2015-07-22 11:31:50 +0000 |
---|---|---|
committer | Richard Biener <rguenth@gcc.gnu.org> | 2015-07-22 11:31:50 +0000 |
commit | 8bb8e838416dce451fae352df5198f99e5f84da5 (patch) | |
tree | 2b717adaafe8433027ff31c83f676589f58cf74b /gcc/tree-ssanames.h | |
parent | b1db706aba296e3bbb369102a540169315888dce (diff) | |
download | gcc-8bb8e838416dce451fae352df5198f99e5f84da5.zip gcc-8bb8e838416dce451fae352df5198f99e5f84da5.tar.gz gcc-8bb8e838416dce451fae352df5198f99e5f84da5.tar.bz2 |
re PR tree-optimization/66952 (wrong code at -O2 and -O3 on x86_64-linux-gnu)
2015-07-22 Richard Biener <rguenther@suse.de>
PR tree-optimization/66952
* tree-ssa-ifcombine.c (pass_tree_ifcombine::execute): For
blocks we end up executing unconditionally reset all SSA
info such as range and alignment.
* tree-ssanames.h (reset_flow_sensitive_info): Declare.
* tree-ssanames.c (reset_flow_sensitive_info): New function.
* gcc.dg/torture/pr66952.c: New testcase.
From-SVN: r226062
Diffstat (limited to 'gcc/tree-ssanames.h')
-rw-r--r-- | gcc/tree-ssanames.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/tree-ssanames.h b/gcc/tree-ssanames.h index a7eeb8f..c6db57e 100644 --- a/gcc/tree-ssanames.h +++ b/gcc/tree-ssanames.h @@ -94,6 +94,7 @@ extern void duplicate_ssa_name_ptr_info (tree, struct ptr_info_def *); extern tree duplicate_ssa_name_fn (struct function *, tree, gimple); extern void duplicate_ssa_name_range_info (tree, enum value_range_type, struct range_info_def *); +extern void reset_flow_sensitive_info (tree); extern void release_defs (gimple); extern void replace_ssa_name_symbol (tree, tree); |