Commit ca474dfe by Tobias Burnus Committed by Tobias Burnus

realloc_on_assign_2.f03 (invima): Assign a value to all array elements.

2010-11-30  Tobias Burnus  <burnus@net-b.de>

        * gfortran.dg/realloc_on_assign_2.f03 (invima): Assign
        a value to all array elements.

From-SVN: r167305
parent 4dbed5f6
2010-11-30 Tobias Burnus <burnus@net-b.de>
* gfortran.dg/realloc_on_assign_2.f03 (invima): Assign
a value to all array elements.
2010-11-30 Richard Guenther <rguenther@suse.de>
PR tree-optimization/46722
......
......@@ -114,6 +114,7 @@ contains
real, dimension (1:m,1:m) :: invima
real, dimension (1:m,1:m), intent (in) :: a
integer, intent (in) :: j, k
invima = 0.0
invima (j, j) = 1.0 / (1.0 - a (j, j))
end function invima
subroutine test6
......
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