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
This commit is contained in:
Jerry DeLisle 2010-08-26 02:12:49 +00:00
parent 1972b91628
commit 604bbfb7fa
2 changed files with 14 additions and 0 deletions

View File

@ -1,3 +1,8 @@
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>
PR rtl-optimization/44858

View File

@ -0,0 +1,9 @@
! { 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