Commit 604bbfb7 by Jerry DeLisle

re PR fortran/41859 (ICE on invalid expression involving DT with pointer components in I/O)

2010-08-25  Jerry DeLisle  <jvdelisle@gcc.gnu.org>

	PR libfortran/41859
	* gfortran.dg/der_io_4.f90: New test.

From-SVN: r163561
parent 1972b916
2010-08-25 Jerry DeLisle <jvdelisle@gcc.gnu.org>
PR libfortran/41859
* gfortran.dg/der_io_4.f90: New test.
2010-08-25 Jakub Jelinek <jakub@redhat.com> 2010-08-25 Jakub Jelinek <jakub@redhat.com>
PR rtl-optimization/44858 PR rtl-optimization/44858
......
! { dg-do compile }
! PR41859 ICE on invalid expression involving DT with pointer components in I/O.
! The parens around p below are significant.
TYPE :: ptype
character, pointer, dimension(:) :: x => null()
END TYPE
TYPE(ptype) :: p
print *, ((((p)))) ! { dg-error "Data transfer element" }
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