diff options
author | rguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4> | 2008-08-29 11:40:47 +0000 |
---|---|---|
committer | rguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4> | 2008-08-29 11:40:47 +0000 |
commit | 6d075589ec61545330adf69172b12f4d31496a06 (patch) | |
tree | dc8788bf2f2b7a8da7c763095a173b0fd86a9e23 /gcc/tree-ssa-structalias.c | |
parent | 4612996b23ab6dfd0393b3f94bda2c6d8c4a350b (diff) | |
download | gcc-6d075589ec61545330adf69172b12f4d31496a06.tar.gz |
2008-08-29 Richard Guenther <rguenther@suse.de>
PR middle-end/37236
* tree-ssa-structalias.c (intra_create_variable_infos): Mark
PARAM_NOALIAS tags with is_heapvar.
* tree-ssa-operands.c (access_can_touch_variable): Offset
based tests do not apply for heapvars. Fix offset test.
* gfortran.fortran-torture/compile/pr37236.f: New testcase.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@139763 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/tree-ssa-structalias.c')
-rw-r--r-- | gcc/tree-ssa-structalias.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/tree-ssa-structalias.c b/gcc/tree-ssa-structalias.c index 7ed37a59762..db0912abe8a 100644 --- a/gcc/tree-ssa-structalias.c +++ b/gcc/tree-ssa-structalias.c @@ -4551,6 +4551,7 @@ intra_create_variable_infos (void) heapvar_insert (t, heapvar); ann = get_var_ann (heapvar); + ann->is_heapvar = 1; if (flag_argument_noalias == 1) ann->noalias_state = NO_ALIAS; else if (flag_argument_noalias == 2) |