This is the mail archive of the gcc-bugs@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]

[Bug driver/47549] New: -save-temps and -finput-charset= causing 'cc1.exe: error: failure to convert gbk to UTF-8'


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47549

           Summary: -save-temps and -finput-charset= causing 'cc1.exe:
                    error: failure to convert gbk to UTF-8'
           Product: gcc
           Version: 4.6.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: driver
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: silver24k@gmail.com


Created attachment 23172
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=23172
simple source in GBK encoding

The source is in GBK encoding. 
arm-gcc -finput-charset=gbk -c -save-temps gbk.c
cc1: error: failure to convert gbk to UTF-8

If no '-save-temps' used, everything is OK.


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