This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] fix exec-charset


Eric Christopher <echristo@redhat.com> writes:

> [echristo@dzur charset]$ cat asm2.c
> asm (not_a_string);
>
> [echristo@dzur charset]$
> /dzur/sourceware/builds-charset/build-native/gcc/cc1 asm2.c
> -fexec-charset=IBM1047
> asm2.c:1: error: syntax error before "not_a_string"
>
> So, it seems to work...

The question is whether, given

asm (not_a_string);
char x[] = "fooßar";

the "don't translate" state gets stuck on and causes x not to get
translated.  (The answer may well be "we don't care because an object
file is not generated anyway" but I want to be sure that doesn't
produce other problems down the road.)

zw


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]