From: Steven G. Kargl Date: Tue, 9 Jan 2018 01:26:17 +0000 (+0000) Subject: re PR fortran/83741 (ICE in gfc_match_allocate, at fortran/match.c:4074) X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=5e884ae3bd258d160d72f41df331f2579c9c8659;p=gcc.git re PR fortran/83741 (ICE in gfc_match_allocate, at fortran/match.c:4074) 2018-01-08 Steven G. Kargl PR Fortran/83741 * gfortran.dg/allocate_assumed_charlen_3.f90: New test. From-SVN: r256366 --- diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 9b0f827349f..034c30f26a9 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2018-01-08 Steven G. Kargl + + PR Fortran/83741 + * gfortran.dg/allocate_assumed_charlen_3.f90: New test. + 2018-01-08 Chih-Mao Chen Monk Chiang diff --git a/gcc/testsuite/gfortran.dg/allocate_assumed_charlen_3.f90 b/gcc/testsuite/gfortran.dg/allocate_assumed_charlen_3.f90 new file mode 100644 index 00000000000..2380f7bfcda --- /dev/null +++ b/gcc/testsuite/gfortran.dg/allocate_assumed_charlen_3.f90 @@ -0,0 +1,7 @@ +! { dg-do compile } +! PR Fortran/83741 +! Contributed by Gerhard Steinmetz +program p + allocate (character(*) :: x) ! { dg-error "Incompatible allocate-object" } +end +