Commit 4dc694b2 by Uros Bizjak

re PR fortran/48926 (gfortran.dg/coarray/image_index_1.f90 -fcoarray=single -O2…

re PR fortran/48926 (gfortran.dg/coarray/image_index_1.f90 -fcoarray=single  -O2  (test for excess errors))

	PR fortran/48926
	* expr.c (gfc_get_corank): Change return value to int.
	* gfortran.h (gfc_get_corank): Update function prototype.

From-SVN: r176088
parent 20888def
2011-07-09 Uros Bizjak <ubizjak@gmail.com>
PR fortran/48926
* expr.c (gfc_get_corank): Change return value to int.
* gfortran.h (gfc_get_corank): Update function prototype.
2011-07-07 Mikael Morin <mikael.morin@sfr.fr> 2011-07-07 Mikael Morin <mikael.morin@sfr.fr>
PR fortran/49648 PR fortran/49648
...@@ -12,7 +18,7 @@ ...@@ -12,7 +18,7 @@
2011-07-06 Daniel Carrera <dcarrera@gmail.com> 2011-07-06 Daniel Carrera <dcarrera@gmail.com>
* trans-array.c (gfc_array_allocate): Rename allocatable_array to * trans-array.c (gfc_array_allocate): Rename allocatable_array to
allocatable. Rename function gfc_allocate_array_with_status to allocatable. Rename function gfc_allocate_array_with_status to
gfc_allocate_allocatable_with_status. Update function call for gfc_allocate_allocatable_with_status. Update function call for
gfc_allocate_with_status. gfc_allocate_with_status.
* trans-opemp.c (gfc_omp_clause_default_ctor): Rename function * trans-opemp.c (gfc_omp_clause_default_ctor): Rename function
......
...@@ -4143,7 +4143,7 @@ gfc_is_coindexed (gfc_expr *e) ...@@ -4143,7 +4143,7 @@ gfc_is_coindexed (gfc_expr *e)
} }
bool int
gfc_get_corank (gfc_expr *e) gfc_get_corank (gfc_expr *e)
{ {
int corank; int corank;
......
...@@ -2734,7 +2734,7 @@ void gfc_expr_replace_comp (gfc_expr *, gfc_component *); ...@@ -2734,7 +2734,7 @@ void gfc_expr_replace_comp (gfc_expr *, gfc_component *);
bool gfc_is_proc_ptr_comp (gfc_expr *, gfc_component **); bool gfc_is_proc_ptr_comp (gfc_expr *, gfc_component **);
bool gfc_is_coindexed (gfc_expr *); bool gfc_is_coindexed (gfc_expr *);
bool gfc_get_corank (gfc_expr *); int gfc_get_corank (gfc_expr *);
bool gfc_has_ultimate_allocatable (gfc_expr *); bool gfc_has_ultimate_allocatable (gfc_expr *);
bool gfc_has_ultimate_pointer (gfc_expr *); bool gfc_has_ultimate_pointer (gfc_expr *);
......
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