From: Jerry DeLisle Date: Mon, 7 Apr 2008 22:10:41 +0000 (+0000) Subject: PR fortran/25829 28655 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=7286c376998c9b9d1a6eab0cf61ab983c8286b2e;p=gcc.git PR fortran/25829 28655 2008-04-07 Jerry DeLisle PR fortran/25829 28655 * gfortran.dg/write_check2.f90: Update dg-error. * gfortran.dg/io_constraints_1.f90: Udate dg-error. From-SVN: r133991 --- diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 6fc0cc1f98b..f148ed5d013 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,9 @@ +2008-04-07 Jerry DeLisle + + PR fortran/25829 28655 + * gfortran.dg/write_check2.f90: Update dg-error. + * gfortran.dg/io_constraints_1.f90: Udate dg-error. + 2008-04-07 Jason Merrill PR c++/35734 diff --git a/gcc/testsuite/gfortran.dg/io_constraints_1.f90 b/gcc/testsuite/gfortran.dg/io_constraints_1.f90 index 05f52faae76..5f2c776b128 100644 --- a/gcc/testsuite/gfortran.dg/io_constraints_1.f90 +++ b/gcc/testsuite/gfortran.dg/io_constraints_1.f90 @@ -62,7 +62,7 @@ end module global !Was correctly picked up before patch. write(1, fmt='(i6)', eor = 100) a ! { dg-error "EOR tag" } !Was correctly picked up before patch. - write(1, fmt='(i6)', size = b) a ! { dg-error "SIZE=specifier not allowed" } + write(1, fmt='(i6)', size = b) a ! { dg-error "SIZE= specifier not allowed" } READ(1, fmt='(i6)', end = 900) a ! { dg-error "not defined" } diff --git a/gcc/testsuite/gfortran.dg/write_check2.f90 b/gcc/testsuite/gfortran.dg/write_check2.f90 index 52f32bb121c..1447f8d14f9 100644 --- a/gcc/testsuite/gfortran.dg/write_check2.f90 +++ b/gcc/testsuite/gfortran.dg/write_check2.f90 @@ -4,7 +4,7 @@ character(len=20) :: str write(13,'(a)',advance='yes') 'Hello:' write(13,'(a)',advance='no') 'Hello:' - write(13,'(a)',advance='y') 'Hello:' ! { dg-error "ADVANCE=specifier at \\(1\\) must have value = YES or NO." } - write(13,'(a)',advance='yet') 'Hello:' ! { dg-error "ADVANCE=specifier at \\(1\\) must have value = YES or NO." } - write(13,'(a)',advance='yess') 'Hello:' ! { dg-error "ADVANCE=specifier at \\(1\\) must have value = YES or NO." } + write(13,'(a)',advance='y') 'Hello:' ! { dg-error "ADVANCE= specifier at \\(1\\) must have value = YES or NO." } + write(13,'(a)',advance='yet') 'Hello:' ! { dg-error "ADVANCE= specifier at \\(1\\) must have value = YES or NO." } + write(13,'(a)',advance='yess') 'Hello:' ! { dg-error "ADVANCE= specifier at \\(1\\) must have value = YES or NO." } end