This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/56581] Segfault when reading source file which starts with a byte-order mark (-cpp works)
- From: "burnus at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Mon, 11 Mar 2013 10:51:32 +0000
- Subject: [Bug fortran/56581] Segfault when reading source file which starts with a byte-order mark (-cpp works)
- Auto-submitted: auto-generated
- References: <bug-56581-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56581
Tobias Burnus <burnus at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|RESOLVED |UNCONFIRMED
Resolution|INVALID |
Summary|seg fault |Segfault when reading
| |source file which starts
| |with a byte-order mark
| |(-cpp works)
Ever Confirmed|1 |0
--- Comment #7 from Tobias Burnus <burnus at gcc dot gnu.org> 2013-03-11 10:51:32 UTC ---
For completeness, the first line of the attachment starts with (od -x):
0000000 bbef 43bf 2020 2020 2020 2020 2020 2020
EF BB BF is the byte-order mark. (Followed by "C" and " ".)
It works if one uses "-cpp" as, seemingly, libcpp supports this. I think we
should consider supporting those BOM.