OSDN Git Service

PR inline-asm/23200
authorjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 4 Feb 2011 15:50:51 +0000 (15:50 +0000)
committerjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 4 Feb 2011 15:50:51 +0000 (15:50 +0000)
commit351b6ccf86d48ad98795df9defe0af7f35fdd66d
tree414dfa9293092030de0a06170c839b69d92e5b67
parent8119d93591ec9a4d1cb160a13c51584e79478b7c
PR inline-asm/23200
* tree-ssa-ter.c (is_replaceable_p): Add TER argument.  Don't
do bb, locus and block comparison and disallow loads if it is
not set.
(stmt_is_replaceable_p): New function.
(process_replaceable, find_replaceable_in_bb): Adjust is_replaceable_p
callers.
* expr.c (expand_expr_real_1) <case SSA_NAME>: If
get_gimple_for_ssa_name try for EXPAND_INITIALIZER harder to use
SSA_NAME_DEF_STMT.
* tree-flow.h (stmt_is_replaceable_p): New prototype.

* gcc.dg/pr23200.c: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@169831 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/expr.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/pr23200.c [new file with mode: 0644]
gcc/tree-flow.h
gcc/tree-ssa-ter.c