summaryrefslogtreecommitdiff
path: root/gcc/fortran/trans-decl.c
diff options
context:
space:
mode:
authorebotcazou <ebotcazou@138bc75d-0d04-0410-961f-82ee72b054a4>2012-11-26 13:56:23 +0000
committerebotcazou <ebotcazou@138bc75d-0d04-0410-961f-82ee72b054a4>2012-11-26 13:56:23 +0000
commit96cd09d2177283716462092c20384c717a6aaa03 (patch)
treee46a6aeae9ebea5d891d766baa6784291c02d937 /gcc/fortran/trans-decl.c
parent3bc5ebb9c1982885f4fc1ed43dad82c768673cdd (diff)
downloadgcc-96cd09d2177283716462092c20384c717a6aaa03.tar.gz
* tree.h (DECL_RESTRICTED_P): Delete.
(DECL_READ_P): Add comment. (DECL_NONSHAREABLE): Likewise. (TYPE_NO_FORCE_BLK): Fix comment. (struct tree_decl_common): Remove decl_restricted_flag, add decl_flag_3. * tree-emutls.c (new_emutls_decl): Do not deal with DECL_RESTRICTED_P. * tree-streamer-in.c (unpack_ts_decl_common_value_fields): Likewise. * tree-streamer-out.c (pack_ts_decl_common_value_fields): Likewise. fortran/ * trans-decl.c (gfc_finish_var_decl): Do not set DECL_RESTRICTED_P. * alias.c (nonoverlapping_component_refs_p): Fix thinko. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@193815 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/fortran/trans-decl.c')
-rw-r--r--gcc/fortran/trans-decl.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/gcc/fortran/trans-decl.c b/gcc/fortran/trans-decl.c
index 9adcb8bddb2..3bee1781d64 100644
--- a/gcc/fortran/trans-decl.c
+++ b/gcc/fortran/trans-decl.c
@@ -611,12 +611,6 @@ gfc_finish_var_decl (tree decl, gfc_symbol * sym)
if (sym->attr.threadprivate
&& (TREE_STATIC (decl) || DECL_EXTERNAL (decl)))
DECL_TLS_MODEL (decl) = decl_default_tls_model (decl);
-
- if (!sym->attr.target
- && !sym->attr.pointer
- && !sym->attr.cray_pointee
- && !sym->attr.proc_pointer)
- DECL_RESTRICTED_P (decl) = 1;
}