Commit 524bfb19 by Harald Anlauf Committed by Dominique d'Humieres

re PR fortran/60126 (Internal compiler error with code using pointer reshaping (gfortran 4.8.2))

2016-02-28  Harald Anlauf  <anlauf@gmx.de>

	PR fortran/60126
	* gfortran.dg/pr60126.f90: New test.

From-SVN: r233790
parent bd542508
2016-02-28 Harald Anlauf <anlauf@gmx.de>
PR fortran/60126
* gfortran.dg/pr60126.f90: New test.
2016-02-27 Jeff Law <law@redhat.com>
Revert
......
! { dg-do compile }
! PR fortran/60126 - ICE on pointer rank remapping
! Based on testcase by Michel Valin <mfvalin at gmail dot com>
subroutine simple_bug_demo
implicit none
interface
function offset_ptr_R4(nelements) result (dest)
implicit none
real, pointer, dimension(:) :: dest
integer, intent(IN) :: nelements
end function offset_ptr_R4
end interface
real, dimension(:,:), pointer :: R2D
R2D(-2:2,-3:3) => offset_ptr_R4(100)
end
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