re PR fortran/71686 (ICE on broken character continuation)

2016-06-29  Jerry DeLisle  <jvdelisle@gcc.gnu.org>

	PR fortran/71686
	* gfortran.dg/unexpected_eof_2.f90: New test.
	* gfortran.dg/unexpected_eof_3.f90: New test.

From-SVN: r237861
This commit is contained in:
Jerry DeLisle 2016-06-29 19:04:58 +00:00
parent b5f58440d2
commit e44ecbfd9f
3 changed files with 19 additions and 0 deletions

View file

@ -1,3 +1,9 @@
2016-06-29 Jerry DeLisle <jvdelisle@gcc.gnu.org>
PR fortran/71686
* gfortran.dg/unexpected_eof_2.f90: New test.
* gfortran.dg/unexpected_eof_3.f90: New test.
2016-06-29 Jim Wilson <jim.wilson@linaro.org>
* gcc.dg/asr_div1.c: Add aarch64 specific dg-options.

View file

@ -0,0 +1,7 @@
! { dg-do compile }
! PR71686
program p
character(8) :: z
z = 'abc& ! { dg-error "Unterminated character constant" }
!end
! { dg-error "Unexpected end of file" "" { target *-*-* } 0 }

View file

@ -0,0 +1,6 @@
! { dg-do compile }
! PR71686
program p
character(8) :: z = 'abc& ! { dg-error "Unterminated character constant" }
!end
! { dg-error "Unexpected end of file" "" { target *-*-* } 0 }