public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug preprocessor/21521] -finput-charset -save-temps converts characters twice
       [not found] <bug-21521-230@http.gcc.gnu.org/bugzilla/>
@ 2006-12-29  7:43 ` tromey at gcc dot gnu dot org
  2006-12-30 23:11 ` tromey at gcc dot gnu dot org
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 7+ messages in thread
From: tromey at gcc dot gnu dot org @ 2006-12-29  7:43 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from tromey at gcc dot gnu dot org  2006-12-29 07:43 -------
I looked at this a bit tonight.

It is straightforward to remove -finput-charset from the second
invocation of cc1 (needed several places -- gcc.c but also the
c++ and objc lang-specs).

I think this approach fails if -combine is used; this is easily
fixed if it is ok to assume that .i files are encoded in the
"internal" charset. 


-- 

tromey at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |tromey at gcc dot gnu dot
                   |                            |org


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


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

* [Bug preprocessor/21521] -finput-charset -save-temps converts characters twice
       [not found] <bug-21521-230@http.gcc.gnu.org/bugzilla/>
  2006-12-29  7:43 ` [Bug preprocessor/21521] -finput-charset -save-temps converts characters twice tromey at gcc dot gnu dot org
@ 2006-12-30 23:11 ` tromey at gcc dot gnu dot org
  2007-01-01 22:55 ` patchapp at dberlin dot org
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 7+ messages in thread
From: tromey at gcc dot gnu dot org @ 2006-12-30 23:11 UTC (permalink / raw)
  To: gcc-bugs



------- 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


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

* [Bug preprocessor/21521] -finput-charset -save-temps converts characters twice
       [not found] <bug-21521-230@http.gcc.gnu.org/bugzilla/>
  2006-12-29  7:43 ` [Bug preprocessor/21521] -finput-charset -save-temps converts characters twice tromey at gcc dot gnu dot org
  2006-12-30 23:11 ` tromey at gcc dot gnu dot org
@ 2007-01-01 22:55 ` patchapp at dberlin dot org
  2007-01-08  1:33 ` tromey at gcc dot gnu dot org
  2009-03-29 22:15 ` jsm28 at gcc dot gnu dot org
  4 siblings, 0 replies; 7+ messages in thread
From: patchapp at dberlin dot org @ 2007-01-01 22:55 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #4 from patchapp at dberlin dot org  2007-01-01 22:55 -------
Subject: Bug number PR preprocessor/21521

A patch for this bug has been added to the patch tracker.
The mailing list url for the patch is
http://gcc.gnu.org/ml/gcc-patches/2007-01/msg00027.html


-- 


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


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

* [Bug preprocessor/21521] -finput-charset -save-temps converts characters twice
       [not found] <bug-21521-230@http.gcc.gnu.org/bugzilla/>
                   ` (2 preceding siblings ...)
  2007-01-01 22:55 ` patchapp at dberlin dot org
@ 2007-01-08  1:33 ` tromey at gcc dot gnu dot org
  2009-03-29 22:15 ` jsm28 at gcc dot gnu dot org
  4 siblings, 0 replies; 7+ messages in thread
From: tromey at gcc dot gnu dot org @ 2007-01-08  1:33 UTC (permalink / raw)
  To: gcc-bugs



-- 

tromey at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|unassigned at gcc dot gnu   |tromey at gcc dot gnu dot
                   |dot org                     |org
             Status|NEW                         |ASSIGNED
   Last reconfirmed|2005-12-15 04:48:28         |2007-01-08 01:32:53
               date|                            |


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


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

* [Bug preprocessor/21521] -finput-charset -save-temps converts characters twice
       [not found] <bug-21521-230@http.gcc.gnu.org/bugzilla/>
                   ` (3 preceding siblings ...)
  2007-01-08  1:33 ` tromey at gcc dot gnu dot org
@ 2009-03-29 22:15 ` jsm28 at gcc dot gnu dot org
  4 siblings, 0 replies; 7+ messages in thread
From: jsm28 at gcc dot gnu dot org @ 2009-03-29 22:15 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #5 from jsm28 at gcc dot gnu dot org  2009-03-29 22:15 -------
The patch could probably do with pinging by now....


-- 


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


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

* [Bug preprocessor/21521] -finput-charset -save-temps converts characters twice
       [not found] <bug-21521-4@http.gcc.gnu.org/bugzilla/>
@ 2012-01-06  0:23 ` pinskia at gcc dot gnu.org
  0 siblings, 0 replies; 7+ messages in thread
From: pinskia at gcc dot gnu.org @ 2012-01-06  0:23 UTC (permalink / raw)
  To: gcc-bugs

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

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |silver24k at gmail dot com

--- Comment #6 from Andrew Pinski <pinskia at gcc dot gnu.org> 2012-01-06 00:22:50 UTC ---
*** Bug 47549 has been marked as a duplicate of this bug. ***


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

* [Bug preprocessor/21521] -finput-charset -save-temps converts characters twice
  2005-05-11 22:00 [Bug preprocessor/21521] New: " jsm28 at gcc dot gnu dot org
@ 2005-08-27 22:25 ` pinskia at gcc dot gnu dot org
  0 siblings, 0 replies; 7+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-08-27 22:25 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2005-08-27 22:23 -------
Confirmed.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|                            |1
   Last reconfirmed|0000-00-00 00:00:00         |2005-08-27 22:23:16
               date|                            |


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


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

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

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <bug-21521-230@http.gcc.gnu.org/bugzilla/>
2006-12-29  7:43 ` [Bug preprocessor/21521] -finput-charset -save-temps converts characters twice tromey at gcc dot gnu dot org
2006-12-30 23:11 ` tromey at gcc dot gnu dot org
2007-01-01 22:55 ` patchapp at dberlin dot org
2007-01-08  1:33 ` tromey at gcc dot gnu dot org
2009-03-29 22:15 ` jsm28 at gcc dot gnu dot org
     [not found] <bug-21521-4@http.gcc.gnu.org/bugzilla/>
2012-01-06  0:23 ` pinskia at gcc dot gnu.org
2005-05-11 22:00 [Bug preprocessor/21521] New: " jsm28 at gcc dot gnu dot org
2005-08-27 22:25 ` [Bug preprocessor/21521] " pinskia at gcc dot gnu dot 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).