This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug preprocessor/21521] -finput-charset -save-temps converts characters twice
- From: "tromey at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 30 Dec 2006 23:11:03 -0000
- Subject: [Bug preprocessor/21521] -finput-charset -save-temps converts characters twice
- References: <bug-21521-230@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #3 from tromey at gcc dot gnu dot org 2006-12-30 23:11 -------
FWIW my initial attempt here, namely inserting %<finput-charset*
into specs in various places, fails if multiple files are given
to gcc when -combine is not used (my patch handles the -combine
case). This is because the first cc1 invocation removes -finput-charset
from the comand line.
So, some other approach must be found. Perhaps we can wedge in
another -finput-charset option, or perhaps we can add a special
case of some sort.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21521