From 16e2bcd5b9371ca6062bf035bc1d6b88540841d1 Mon Sep 17 00:00:00 2001 From: Thomas Koenig Date: Wed, 6 Feb 2019 20:34:42 +0000 Subject: [PATCH] re PR fortran/71860 ([OOP] ICE on pointing to null(mold), verify_gimple failed) 2019-02-06 Thomas Koenig PR fortran/71860 * gfortran.dg/null_10.f90: New test. From-SVN: r268590 --- gcc/testsuite/ChangeLog | 5 +++++ gcc/testsuite/gfortran.dg/null_10.f90 | 7 +++++++ 2 files changed, 12 insertions(+) create mode 100644 gcc/testsuite/gfortran.dg/null_10.f90 diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 0e6d85e9dd0..53f4cd3f75d 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2019-02-06 Thomas Koenig + + PR fortran/71860 + * gfortran.dg/null_10.f90: New test. + 2019-02-06 David Malcolm PR c++/71302 diff --git a/gcc/testsuite/gfortran.dg/null_10.f90 b/gcc/testsuite/gfortran.dg/null_10.f90 new file mode 100644 index 00000000000..ec1ac0ddd4d --- /dev/null +++ b/gcc/testsuite/gfortran.dg/null_10.f90 @@ -0,0 +1,7 @@ +! { dg-do compile } +! PR 71860 - this used to ICE +! Original test case by Gerhard Steinmetz +program p + class(*), pointer :: z + z => null(z) +end -- 2.30.2