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.

Reply via email to