This is the mail archive of the gcc-cvs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]