aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree-flow.h
diff options
context:
space:
mode:
authorJakub Jelinek <jakub@redhat.com>2011-02-04 16:50:51 +0100
committerJakub Jelinek <jakub@gcc.gnu.org>2011-02-04 16:50:51 +0100
commitdcde5957ce2d3465028da302a878d93bea9fc41f (patch)
tree414dfa9293092030de0a06170c839b69d92e5b67 /gcc/tree-flow.h
parenta64a8e5a1375676bad507dd424e0a1c4850a525b (diff)
downloadgcc-dcde5957ce2d3465028da302a878d93bea9fc41f.zip
gcc-dcde5957ce2d3465028da302a878d93bea9fc41f.tar.gz
gcc-dcde5957ce2d3465028da302a878d93bea9fc41f.tar.bz2
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
Diffstat (limited to 'gcc/tree-flow.h')
-rw-r--r--gcc/tree-flow.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/gcc/tree-flow.h b/gcc/tree-flow.h
index 1720859..e5642a0 100644
--- a/gcc/tree-flow.h
+++ b/gcc/tree-flow.h
@@ -1,5 +1,5 @@
/* Data and Control Flow Analysis for Trees.
- Copyright (C) 2001, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010
+ Copyright (C) 2001, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011
Free Software Foundation, Inc.
Contributed by Diego Novillo <dnovillo@redhat.com>
@@ -852,6 +852,9 @@ bool fixup_noreturn_call (gimple stmt);
/* In ipa-pure-const.c */
void warn_function_noreturn (tree);
+/* In tree-ssa-ter.c */
+bool stmt_is_replaceable_p (gimple);
+
#include "tree-flow-inline.h"
void swap_tree_operands (gimple, tree *, tree *);