diff options
author | toon <toon@138bc75d-0d04-0410-961f-82ee72b054a4> | 2006-03-21 06:32:57 +0000 |
---|---|---|
committer | toon <toon@138bc75d-0d04-0410-961f-82ee72b054a4> | 2006-03-21 06:32:57 +0000 |
commit | 5ff22aea8fd9b39bfa3329bae1e78326c098d716 (patch) | |
tree | b8851b36230f472b3fa762bc25e4577aed644008 /gcc/common.opt | |
parent | d1d2af7d413943e01d6a8216c9564d6651ca4474 (diff) | |
download | gcc-5ff22aea8fd9b39bfa3329bae1e78326c098d716.tar.gz |
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@112243 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/common.opt')
-rw-r--r-- | gcc/common.opt | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/gcc/common.opt b/gcc/common.opt index 5b00a7bd0f9..f6c7fadffc3 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 |