Mercurial > hg > CbC > CbC_gcc
annotate gcc/testsuite/gfortran.dg/inline_sum_4.f90 @ 132:d34655255c78
update gcc-8.2
author | mir3636 |
---|---|
date | Thu, 25 Oct 2018 10:21:07 +0900 |
parents | 04ced10e8804 |
children |
rev | line source |
---|---|
111 | 1 ! { dg-do compile } |
2 ! | |
3 ! PR fortran/53732 | |
4 ! this was leading to an internal "mismatching comparison operand types" | |
5 ! error. | |
6 ! | |
7 ! Original testcase by minzastro <minzastro@googlemail.com> | |
8 ! Fixed by Dominique Dhumieres <dominiq@lps.ens.fr> | |
9 | |
10 program test | |
11 implicit none | |
12 | |
13 real(8) arr(4,4,4,4) | |
14 | |
15 arr(:,:,:,:) = 1d0 | |
16 | |
17 arr(1,:,:,:) = sum(arr, dim=1, mask=(arr(:,:,:,:) > 0d0)) | |
18 | |
19 end program test |