re PR fortran/27553 ([4.1 only] Testsuite ICE with -Wunused-labels)
PR fortran/27553 * parse.c (next_free): Return instead of calling decode_statement upon error. * gfortran.dg/label_5.f90: New test. From-SVN: r113712
This commit is contained in:
parent
64c9036718
commit
e983d070ff
@ -1,3 +1,9 @@
|
||||
2006-05-11 Francois-Xavier Coudert <coudert@clipper.ens.fr>
|
||||
|
||||
PR fortran/27553
|
||||
* parse.c (next_free): Return instead of calling decode_statement
|
||||
upon error.
|
||||
|
||||
2005-05-10 Thomas Koenig <Thomas.Koenig@online.de>
|
||||
|
||||
PR fortran/27470
|
||||
|
@ -439,6 +439,7 @@ next_free (void)
|
||||
if (!gfc_is_whitespace (c))
|
||||
gfc_error_now ("Non-numeric character in statement label at %C");
|
||||
|
||||
return ST_NONE;
|
||||
}
|
||||
else
|
||||
{
|
||||
|
@ -1,3 +1,8 @@
|
||||
2006-05-11 Francois-Xavier Coudert <coudert@clipper.ens.fr>
|
||||
|
||||
PR fortran/27553
|
||||
* gfortran.dg/label_5.f90: New test.
|
||||
|
||||
2006-05-11 Joseph S. Myers <joseph@codesourcery.com>
|
||||
|
||||
* lib/target-supports.exp (check_effective_target_powerpc_fprs,
|
||||
|
6
gcc/testsuite/gfortran.dg/label_5.f90
Normal file
6
gcc/testsuite/gfortran.dg/label_5.f90
Normal file
@ -0,0 +1,6 @@
|
||||
! { dg-do compile }
|
||||
! { dg-options "-Wall" }
|
||||
! PR fortran/27553
|
||||
program pr27553
|
||||
10: a=10 ! { dg-error "character in statement" }
|
||||
end program
|
Loading…
Reference in New Issue
Block a user