re PR tree-optimization/66952 (wrong code at -O2 and -O3 on x86_64-linux-gnu)
authorRichard Biener <rguenther@suse.de>
Wed, 22 Jul 2015 11:31:50 +0000 (11:31 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Wed, 22 Jul 2015 11:31:50 +0000 (11:31 +0000)
commit8bb8e838416dce451fae352df5198f99e5f84da5
tree2b717adaafe8433027ff31c83f676589f58cf74b
parentb1db706aba296e3bbb369102a540169315888dce
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
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/torture/pr66952.c [new file with mode: 0644]
gcc/tree-ssa-ifcombine.c
gcc/tree-ssanames.c
gcc/tree-ssanames.h