aboutsummaryrefslogtreecommitdiff
path: root/gcc/ipa-prop.h
diff options
context:
space:
mode:
authorjamborm <jamborm@138bc75d-0d04-0410-961f-82ee72b054a4>2010-12-09 15:16:22 +0000
committerjamborm <jamborm@138bc75d-0d04-0410-961f-82ee72b054a4>2010-12-09 15:16:22 +0000
commit14c9496e39a76064891431e88ad260110fb35475 (patch)
treeb9b56ea61d799eb9047c570a47d2d6d142e02c00 /gcc/ipa-prop.h
parent99cffa1d744281dfe276da123eca3dec11261316 (diff)
2010-12-09 Martin Jambor <mjambor@suse.cz>
* ipa-prop.h (struct ipa_parm_adjustment): New field alias_ptr_type. * ipa-prop.c (ipa_modify_call_arguments): Use it. * tree-sra.c (splice_param_accesses): Test that all accesses have the same alias reference type. (turn_representatives_into_adjustments): Set alias_ptr_type of the adjustment. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@167641 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/ipa-prop.h')
-rw-r--r--gcc/ipa-prop.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/gcc/ipa-prop.h b/gcc/ipa-prop.h
index 40f7ef950c4..fdf1a5e4a99 100644
--- a/gcc/ipa-prop.h
+++ b/gcc/ipa-prop.h
@@ -458,6 +458,10 @@ struct ipa_parm_adjustment
be a pointer to this type. */
tree type;
+ /* Alias refrerence type to be used in MEM_REFs when adjusting caller
+ arguments. */
+ tree alias_ptr_type;
+
/* The new declaration when creating/replacing a parameter. Created by
ipa_modify_formal_parameters, useful for functions modifying the body
accordingly. */