Skip to content

Commit 1957cef

Browse files
committed
build(macro): -DGFORTRAN_ICE shows compiler bug
1 parent 404b79c commit 1957cef

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

test/mimetic_test_m.F90

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ function div_grad_matches_laplacian() result(test_diagnosis)
5959

6060
call phi%define(side=1., boundary_val=0., internal_val=0., n=21)
6161

62-
#ifndef __GFORTRAN__
62+
#if (! defined(__GFORTRAN__)) || defined(GFORTRAN_ICE)
6363
associate(div_grad_phi => .div. (.grad. phi) , laplacian_phi => .laplacian. phi)
6464
test_diagnosis = .all.(div_grad_phi%values() .approximates. laplacian_phi%values() .within. tolerance)
6565
end associate

0 commit comments

Comments
 (0)