Commit 15e2b595 by Tobias Burnus

trans-decl.c (gfc_build_qualified_array): Make coarray's token TYPE_QUAL_RESTRICT.

2011-07-17  Tobias Burnus  <burnus@net-b.de>

        * trans-decl.c (gfc_build_qualified_array): Make coarray's
        token TYPE_QUAL_RESTRICT.

From-SVN: r176404
parent daf633ba
2011-07-18 Tobias Burnus <burnus@net-b.de> 2011-07-18 Tobias Burnus <burnus@net-b.de>
* trans-decl.c (gfc_build_qualified_array): Make coarray's
token TYPE_QUAL_RESTRICT.
2011-07-18 Tobias Burnus <burnus@net-b.de>
* resolve.c (resolve_transfer): Mention defined I/O * resolve.c (resolve_transfer): Mention defined I/O
in the diagnostic for alloc_comp/pointer_comp. in the diagnostic for alloc_comp/pointer_comp.
...@@ -1075,7 +1080,7 @@ ...@@ -1075,7 +1080,7 @@
* f95-lang.c (build_builtin_fntypes): Swap frexp parameter types. * f95-lang.c (build_builtin_fntypes): Swap frexp parameter types.
2010-04-04 Thomas Koenig <tkoenig@gcc.gnu.org> 2011-04-04 Thomas Koenig <tkoenig@gcc.gnu.org>
* frontend-passes: (optimize_lexical_comparison): New function. * frontend-passes: (optimize_lexical_comparison): New function.
(optimize_expr): Call it. (optimize_expr): Call it.
...@@ -1211,7 +1216,7 @@ ...@@ -1211,7 +1216,7 @@
* trans-types.c (gfc_get_function_type): Don't use varargs if the * trans-types.c (gfc_get_function_type): Don't use varargs if the
procedure is known to have no arguments. procedure is known to have no arguments.
2010-03-21 Thomas Koenig <tkoenig@gcc.gnu.org> 2011-03-21 Thomas Koenig <tkoenig@gcc.gnu.org>
PR fortran/22572 PR fortran/22572
* gfortran.h (gfc_option_t) : Add * gfortran.h (gfc_option_t) : Add
......
...@@ -759,7 +759,9 @@ gfc_build_qualified_array (tree decl, gfc_symbol * sym) ...@@ -759,7 +759,9 @@ gfc_build_qualified_array (tree decl, gfc_symbol * sym)
{ {
tree token; tree token;
token = gfc_create_var_np (pvoid_type_node, "caf_token"); token = gfc_create_var_np (build_qualified_type (pvoid_type_node,
TYPE_QUAL_RESTRICT),
"caf_token");
GFC_TYPE_ARRAY_CAF_TOKEN (type) = token; GFC_TYPE_ARRAY_CAF_TOKEN (type) = token;
DECL_ARTIFICIAL (token) = 1; DECL_ARTIFICIAL (token) = 1;
TREE_STATIC (token) = 1; TREE_STATIC (token) = 1;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment