diff options
author | pinskia <pinskia@138bc75d-0d04-0410-961f-82ee72b054a4> | 2012-03-09 09:27:29 +0000 |
---|---|---|
committer | pinskia <pinskia@138bc75d-0d04-0410-961f-82ee72b054a4> | 2012-03-09 09:27:29 +0000 |
commit | fb9912ea59ed21829ec1b06b86c1c296bb1b5353 (patch) | |
tree | 8ce1b024cb971a3bad7d160a1f7a85d3d1302029 /gcc/ada/gcc-interface/utils.c | |
parent | 62bc06eaa4fa7e60ba29a510d01e00aab4a847e9 (diff) | |
download | ppe42-gcc-fb9912ea59ed21829ec1b06b86c1c296bb1b5353.tar.gz ppe42-gcc-fb9912ea59ed21829ec1b06b86c1c296bb1b5353.zip |
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@185131 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/ada/gcc-interface/utils.c')
0 files changed, 0 insertions, 0 deletions