]> git.ipfire.org Git - thirdparty/gcc.git/commit
re PR inline-asm/23200 (rejects "i"(&var + 1))
authorJakub Jelinek <jakub@redhat.com>
Fri, 4 Feb 2011 15:50:51 +0000 (16:50 +0100)
committerJakub Jelinek <jakub@gcc.gnu.org>
Fri, 4 Feb 2011 15:50:51 +0000 (16:50 +0100)
commitdcde5957ce2d3465028da302a878d93bea9fc41f
tree414dfa9293092030de0a06170c839b69d92e5b67
parenta64a8e5a1375676bad507dd424e0a1c4850a525b
re PR inline-asm/23200 (rejects "i"(&var + 1))

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.

From-SVN: r169831
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