aboutsummaryrefslogtreecommitdiff
path: root/gcc/common.opt
diff options
context:
space:
mode:
authorToon Moene <toon@moene.indiv.nluug.nl>2006-03-21 07:32:57 +0100
committerToon Moene <toon@gcc.gnu.org>2006-03-21 06:32:57 +0000
commit0698a1d2bd56fc3b12c1fe235b27030f5d8a54bf (patch)
treeb8851b36230f472b3fa762bc25e4577aed644008 /gcc/common.opt
parente67c25c7381536222d154228d16467320ea1fcf8 (diff)
downloadgcc-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/common.opt')
-rw-r--r--gcc/common.opt8
1 files changed, 7 insertions, 1 deletions
diff --git a/gcc/common.opt b/gcc/common.opt
index 5b00a7b..f6c7fad 100644
--- a/gcc/common.opt
+++ b/gcc/common.opt
@@ -257,7 +257,9 @@ Common RejectNegative Joined UInteger
; 1 if pointer arguments may not alias each other but may alias
; global variables.
; 2 if pointer arguments may not alias each other and may not
-; alias global variables. True in Fortran.
+; alias global variables.
+; 3 if pointer arguments may not alias anything. True in Fortran.
+; Set by the front end.
fargument-alias
Common Report Var(flag_argument_noalias,0)
Specify that arguments may alias each other and globals
@@ -270,6 +272,10 @@ fargument-noalias-global
Common Report Var(flag_argument_noalias,2) VarExists
Assume arguments alias neither each other nor globals
+fargument-noalias-anything
+Common Report Var(flag_argument_noalias,3) VarExists
+Assume arguments alias no other storage
+
fasynchronous-unwind-tables
Common Report Var(flag_asynchronous_unwind_tables)
Generate unwind tables that are exact at each instruction boundary