aboutsummaryrefslogtreecommitdiff
path: root/gcc/fix-header.c
diff options
context:
space:
mode:
authorFrancois-Xavier Coudert <fxcoudert@gcc.gnu.org>2007-04-29 10:45:57 +0000
committerFrançois-Xavier Coudert <fxcoudert@gcc.gnu.org>2007-04-29 10:45:57 +0000
commitcaef7872f0dc4a62dfc449785974eaa179b0a449 (patch)
treeebf5c3a3515c694847d6fb1e9ca78d6d75adcd53 /gcc/fix-header.c
parent70ec16f7c29de16e0ec824de9a8979ff0a902488 (diff)
downloadgcc-caef7872f0dc4a62dfc449785974eaa179b0a449.zip
gcc-caef7872f0dc4a62dfc449785974eaa179b0a449.tar.gz
gcc-caef7872f0dc4a62dfc449785974eaa179b0a449.tar.bz2
re PR fortran/31645 (Error on reading Byte Order Mark)
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. From-SVN: r124274
Diffstat (limited to 'gcc/fix-header.c')
0 files changed, 0 insertions, 0 deletions