[Bug c++/13258] strings used for the extern keyword are being translated by the -fexec-charset option

ivan at vmfacility dot fr gcc-bugzilla@gcc.gnu.org
Fri Jan 2 09:17:00 GMT 2004


------- Additional Comments From ivan at vmfacility dot fr  2004-01-02 09:17 -------
I would also like to mention that this also affects the __asm__ (or asm) 
statement and constraints [if the source & exec charsets are different).

Ex:

__asm__ ("LR %0,%1" : "=r" (x) : "r" (y)); 

This complains that the output lacks an "=" constraint. I am also sure the 
resulting assembler output will be garbled.

This might be similar to the __attribute__ issue.

--Ivan

-- 


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



More information about the Gcc-bugs mailing list