Commit 3051883c by Steven G. Kargl

re PR fortran/80768 (NULL pointer dereferenced in gfc_check_num_images at fortran/check.c)

2018-01-19  Steven G. Kargl  <kargl@gcc.gnu.org>

	PR fortran/80768
	* gfortran.dg/num_images_1.f90:  New test that tests fix in r250734.

From-SVN: r256906
parent 1c9a0251
2018-01-19 Steven G. Kargl <kargl@gcc.gnu.org>
PR fortran/80768
* gfortran.dg/num_images_1.f90: New test that tests fix in r250734.
2018-01-19 Jakub Jelinek <jakub@redhat.com>
PR c++/81167
......
! { dg-do compile }
! { dg-options "-fcoarray=single -std=f2008" }
! PR Fortran/80768
! Reported by Vittorio Zecca.
program foo
implicit none
integer k5
k5 = num_images(failed=.false.) ! { dg-error "argument to NUM_IMAGES" }
end program foo
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment