]> git.ipfire.org Git - thirdparty/gcc.git/commit
re PR fortran/48820 (TR 29113: Implement parts needed for MPI 3)
authorMikael Morin <mikael@gcc.gnu.org>
Thu, 2 Aug 2012 19:48:50 +0000 (19:48 +0000)
committerMikael Morin <mikael@gcc.gnu.org>
Thu, 2 Aug 2012 19:48:50 +0000 (19:48 +0000)
commite5a24119f2d117216b18ccf0e1a0620f18d9739c
tree5d2a87b55e2491858ef9c60a627013cbfe35796c
parentc0febbd3cdaff455175eddc99bb4adef5f4a4383
re PR fortran/48820 (TR 29113: Implement parts needed for MPI 3)

fortran/
PR fortran/48820
* trans-array.c (gfc_conv_ss_startstride): Set the intrinsic
result's lower and upper bounds according to the rank.
(set_loop_bounds): Set the loop upper bound in the intrinsic case.

testsuite/
PR fortran/48820
* gfortran.dg/assumed_rank_bounds_1.f90:  New test.
* gfortran.dg/assumed_rank_bounds_2.f90:  New test.

From-SVN: r190098
gcc/fortran/ChangeLog
gcc/fortran/trans-array.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/assumed_rank_bounds_1.f90 [new file with mode: 0644]
gcc/testsuite/gfortran.dg/assumed_rank_bounds_2.f90 [new file with mode: 0644]