diff options
author | Toon Moene <toon@moene.indiv.nluug.nl> | 2006-03-21 07:32:57 +0100 |
---|---|---|
committer | Toon Moene <toon@gcc.gnu.org> | 2006-03-21 06:32:57 +0000 |
commit | 0698a1d2bd56fc3b12c1fe235b27030f5d8a54bf (patch) | |
tree | b8851b36230f472b3fa762bc25e4577aed644008 /gcc/tree-ssa-structalias.c | |
parent | e67c25c7381536222d154228d16467320ea1fcf8 (diff) | |
download | gcc-0698a1d2bd56fc3b12c1fe235b27030f5d8a54bf.zip gcc-0698a1d2bd56fc3b12c1fe235b27030f5d8a54bf.tar.gz gcc-0698a1d2bd56fc3b12c1fe235b27030f5d8a54bf.tar.bz2 |
options.c (gfc_init_options): Initialize flag_argument_noalias to 3.
2006-03-21 Toon Moene <toon@moene.indiv.nluug.nl>
* fortran/options.c (gfc_init_options): Initialize
flag_argument_noalias to 3.
* doc/invoke.texi: Document new flag -fargument-noalias-anything.
* tree-ssa-alias.c (may_alias_p): If flag_argument_noalias > 2,
argument pointers may not alias any other storage.
* common.opt: Define option -fargument-noalias-anything.
* tree-ssa-structalias.c (intra_create_variable_infos): Fortran
alias semantics is specified by flag_argument_noalias > 2.
From-SVN: r112243
Diffstat (limited to 'gcc/tree-ssa-structalias.c')
-rw-r--r-- | gcc/tree-ssa-structalias.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gcc/tree-ssa-structalias.c b/gcc/tree-ssa-structalias.c index b5e0830..990398c 100644 --- a/gcc/tree-ssa-structalias.c +++ b/gcc/tree-ssa-structalias.c @@ -4041,7 +4041,7 @@ intra_create_variable_infos (void) tree t; /* For each incoming argument arg, ARG = &ANYTHING or a dummy variable if - flag_argument_noalias > 1. */ + flag_argument_noalias > 2. */ for (t = DECL_ARGUMENTS (current_function_decl); t; t = TREE_CHAIN (t)) { struct constraint_expr lhs; @@ -4051,11 +4051,11 @@ intra_create_variable_infos (void) lhs.type = SCALAR; lhs.var = create_variable_info_for (t, alias_get_name (t)); - /* With flag_argument_noalias greater than one means that the incoming + /* With flag_argument_noalias greater than two means that the incoming argument cannot alias anything except for itself so create a HEAP variable. */ if (POINTER_TYPE_P (TREE_TYPE (t)) - && flag_argument_noalias > 1) + && flag_argument_noalias > 2) { varinfo_t vi; struct constraint_expr rhs; |