aboutsummaryrefslogtreecommitdiff
path: root/gcc/coverage.c
diff options
context:
space:
mode:
authorJanne Blomqvist <jb@gcc.gnu.org>2018-09-23 14:03:38 +0300
committerJanne Blomqvist <jb@gcc.gnu.org>2018-09-23 14:03:38 +0300
commit0f97b81b036b13272c350bbb3ff94afe3294ac2d (patch)
tree64b157df8c46f8fdeafe7720d1aa7c723b7b08a3 /gcc/coverage.c
parentee7fb0588c6361b4d77337ab0f7527be64fcdde2 (diff)
downloadgcc-0f97b81b036b13272c350bbb3ff94afe3294ac2d.zip
gcc-0f97b81b036b13272c350bbb3ff94afe3294ac2d.tar.gz
gcc-0f97b81b036b13272c350bbb3ff94afe3294ac2d.tar.bz2
Do array index calculations in gfc_array_index_type
It was recently noticed that for a few of the coarray intrinsics array index calculations were done in integer_type_node instead of gfc_array_index_type. This patch fixes this. Regtested on x86_64-pc-linux-gnu. gcc/fortran/ChangeLog: 2018-09-23 Janne Blomqvist <jb@gcc.gnu.org> * trans-expr.c (gfc_caf_get_image_index): Do array index calculations in gfc_array_index_type. * trans-intrinsic.c (conv_intrinsic_event_query): Likewise. * trans-stmt.c (gfc_trans_lock_unlock): Likewise. (gfc_trans_event_post_wait): Likewise. gcc/testsuite/ChangeLog: 2018-09-23 Janne Blomqvist <jb@gcc.gnu.org> * gfortran.dg/coarray_lib_alloc_4.f90: Fix scan patterns. * gfortran.dg/coarray_lock_7.f90: Likewise. From-SVN: r264513
Diffstat (limited to 'gcc/coverage.c')
0 files changed, 0 insertions, 0 deletions