Commit 12193bf1 by Steven G. Kargl

re PR fortran/85938 (Spurious assert failure for matmul with reshaped array)

2018-06-02  Steven G. Kargl  <kargl@gcc.gnu.org>

	PR fortran/85938
	* gfortran.dg/pr85938.f90: Fixed by revision r261081

From-SVN: r261125
parent 432e70af
2018-06-02 Steven G. Kargl <kargl@gcc.gnu.org>
PR fortran/85938
* gfortran.dg/pr85938.f90: Fixed by revision r261081
2018-06-02 Eric Botcazou <ebotcazou@adacore.com> 2018-06-02 Eric Botcazou <ebotcazou@adacore.com>
* gnat.dg/specs/opt3.ads: New test. * gnat.dg/specs/opt3.ads: New test.
......
! { dg-do run }
! PR fortran/85938
program foo
real a(9), b(3)
integer :: n = 3
a = 1.0
b = 1.0
if (any(matmul(reshape(A, (/ n, n /)), b) /= 3.)) stop 1
end program
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