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: unassig...@gcc.gnu.org
        ReportedBy: silver...@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.

Reply via email to