This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
r124274 - in /trunk/gcc: fortran/ChangeLog fort...
- From: fxcoudert at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: Sun, 29 Apr 2007 10:45:59 -0000
- Subject: r124274 - in /trunk/gcc: fortran/ChangeLog fort...
Author: fxcoudert
Date: Sun Apr 29 11:45:57 2007
New Revision: 124274
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=124274
Log:
PR fortran/31645
* scanner.c (load_file): Discard the byte order mark if one is
found on the first non-preprocessor line of a file.
* testsuite/gfortran.dg/bom_error.f90: New test.
* testsuite/gfortran.dg/bom_include.f90: New test.
* testsuite/gfortran.dg/bom_UTF16-LE.f90: New test.
* testsuite/gfortran.dg/bom_UTF16-BE.f90: New test.
* testsuite/gfortran.dg/bom_UTF-8.f90: New test.
* testsuite/gfortran.dg/bom_UTF-32.f90: New test.
* testsuite/gfortran.dg/bom_UTF-8.F90: New test.
* testsuite/gfortran.dg/bom_include.inc: New file.
Added:
trunk/gcc/testsuite/gfortran.dg/bom_UTF-32.f90
trunk/gcc/testsuite/gfortran.dg/bom_UTF-8.F90
trunk/gcc/testsuite/gfortran.dg/bom_UTF-8.f90
trunk/gcc/testsuite/gfortran.dg/bom_UTF16-BE.f90
trunk/gcc/testsuite/gfortran.dg/bom_UTF16-LE.f90
trunk/gcc/testsuite/gfortran.dg/bom_error.f90
trunk/gcc/testsuite/gfortran.dg/bom_include.f90
trunk/gcc/testsuite/gfortran.dg/bom_include.inc
Modified:
trunk/gcc/fortran/ChangeLog
trunk/gcc/fortran/scanner.c
trunk/gcc/testsuite/ChangeLog