diff options
author | Andrew Pinski <apinski@cavium.com> | 2012-03-09 09:27:29 +0000 |
---|---|---|
committer | Andrew Pinski <pinskia@gcc.gnu.org> | 2012-03-09 01:27:29 -0800 |
commit | 210ac0b75b991788e1de7989fe7ea6d86bf41ab3 (patch) | |
tree | 8ce1b024cb971a3bad7d160a1f7a85d3d1302029 /gcc/ada/gcc-interface/ada-tree.h | |
parent | bef28cedad5f74cca2b71b7c25ed98fc5c99021d (diff) | |
download | gcc-210ac0b75b991788e1de7989fe7ea6d86bf41ab3.zip gcc-210ac0b75b991788e1de7989fe7ea6d86bf41ab3.tar.gz gcc-210ac0b75b991788e1de7989fe7ea6d86bf41ab3.tar.bz2 |
re PR tree-optimization/51988 (value_replacement in PHIOPT should handle even the cases where there are other PHIs even with non equal value)
2012-03-09 Andrew Pinski <apinski@cavium.com>
PR middle-end/51988
* tree-ssa-phiopt.c: Include tree-pretty-print.h for
print_generic_expr.
(tree_ssa_phiopt_worker): Go through all the PHIs for
value_replacement instead of just the singleton one.
(value_replacement): Change return type to int. Return 0 instead of
false.
Allow the middle basic block to contain more than just the definings
tatement.
Handle non empty middle basic blocks.
* Makefile.in (tree-ssa-phiopt.o): Add tree-pretty-print.h.
2012-03-09 Andrew Pinski <apinski@cavium.com>
PR middle-end/51988
* gcc.dg/tree-ssa/phi-opt-8.c: New testcase.
* gcc.dg/tree-ssa/phi-opt-9.c: New testcase.
From-SVN: r185131
Diffstat (limited to 'gcc/ada/gcc-interface/ada-tree.h')
0 files changed, 0 insertions, 0 deletions