mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-04-10 21:41:14 +08:00
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:
parent
1972b91628
commit
604bbfb7fa
@ -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
|
||||
|
9
gcc/testsuite/gfortran.dg/der_io_4.f90
Normal file
9
gcc/testsuite/gfortran.dg/der_io_4.f90
Normal 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
|
Loading…
x
Reference in New Issue
Block a user