From: Thomas König Date: Sun, 19 Apr 2020 12:05:46 +0000 (+0200) Subject: PR 94347 - add a test case for something a PR has fixed itself. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=ba36d0b9d472c4193772878969d57d3d5ea1ee5a;p=gcc.git PR 94347 - add a test case for something a PR has fixed itself. 2020-04-19 Thomas Koenig PR fortran/94347 * gfortran.dg/char_pointer_init_1.f90: New test. --- diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 315a29bd05f..122c737b189 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2020-04-19 Thomas Koenig + + PR fortran/94347 + * gfortran.dg/char_pointer_init_1.f90: New test. + 2020-04-19 Thomas Koenig PR fortran/57129 diff --git a/gcc/testsuite/gfortran.dg/pointer_init_12.f90 b/gcc/testsuite/gfortran.dg/pointer_init_12.f90 new file mode 100644 index 00000000000..b2bce01ab57 --- /dev/null +++ b/gcc/testsuite/gfortran.dg/pointer_init_12.f90 @@ -0,0 +1,8 @@ +! { dg-do compile } +! PR 94347 - this used to cause an ICE. +! Original test case by "Serghei". +program main + character(10), target :: a + character(:), pointer :: p => null() + p => a +end program main