aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree-inline.h
diff options
context:
space:
mode:
authorEric Botcazou <ebotcazou@adacore.com>2013-09-17 11:05:31 +0000
committerEric Botcazou <ebotcazou@gcc.gnu.org>2013-09-17 11:05:31 +0000
commit78bbd7655eb53cf2d0fcdf45f250a3b40e51f35a (patch)
tree219c5c5f83f0c8d87a806be3e5dd0643b4ad1ba8 /gcc/tree-inline.h
parent00c90ae1796a2cc6d9006d246e829793bc3cba0d (diff)
downloadgcc-78bbd7655eb53cf2d0fcdf45f250a3b40e51f35a.zip
gcc-78bbd7655eb53cf2d0fcdf45f250a3b40e51f35a.tar.gz
gcc-78bbd7655eb53cf2d0fcdf45f250a3b40e51f35a.tar.bz2
tree-inline.h (struct copy_body_data): Add transform_parameter.
* tree-inline.h (struct copy_body_data): Add transform_parameter. * tree-inline.c (is_parameter_of): New predicate. (remap_gimple_op_r): Do not propagate TREE_THIS_NOTRAP on MEM_REF if a parameter has been remapped. (copy_tree_body_r): Likewise on INDIRECT_REF and MEM_REF. (optimize_inline_calls): Initialize transform_parameter. (copy_gimple_seq_and_replace_locals): Likewise. (tree_function_versioning): Likewise. (maybe_inline_call_in_expr): Likewise. From-SVN: r202647
Diffstat (limited to 'gcc/tree-inline.h')
-rw-r--r--gcc/tree-inline.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/gcc/tree-inline.h b/gcc/tree-inline.h
index 620ec97..a78e4b6 100644
--- a/gcc/tree-inline.h
+++ b/gcc/tree-inline.h
@@ -97,6 +97,10 @@ typedef struct copy_body_data
by manipulating the CFG rather than a statement. */
bool transform_return_to_modify;
+ /* True if the parameters of the source function are transformed.
+ Only true for inlining. */
+ bool transform_parameter;
+
/* True if this statement will need to be regimplified. */
bool regimplify;