public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug driver/47549] New: -save-temps and -finput-charset= causing 'cc1.exe: error: failure to convert gbk to UTF-8'
@ 2011-01-31  8:48 silver24k at gmail dot com
  2011-01-31  8:48 ` [Bug driver/47549] " silver24k at gmail dot com
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: silver24k at gmail dot com @ 2011-01-31  8:48 UTC (permalink / raw)
  To: gcc-bugs

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.


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2012-01-06  0:23 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-01-31  8:48 [Bug driver/47549] New: -save-temps and -finput-charset= causing 'cc1.exe: error: failure to convert gbk to UTF-8' silver24k at gmail dot com
2011-01-31  8:48 ` [Bug driver/47549] " silver24k at gmail dot com
2011-01-31 20:50 ` [Bug preprocessor/47549] " pinskia at gcc dot gnu.org
2011-01-31 20:55 ` silver24k at gmail dot com
2011-01-31 21:42 ` joseph at codesourcery dot com
2012-01-06  0:23 ` pinskia at gcc dot gnu.org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).