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] new exec-charset testcase


Eric Christopher <echristo@redhat.com> writes:
> /* { dg-do compile }
>    { dg-require-iconv "IBM-1047" }
>    { dg-final { scan-assembler-not "abcdefghijklmnopqrstuvwxyz" } } */
>
> extern char *bar;
>
> extern void foo (void)
> {
>    char str[]="abcdefghijklmnopqrstuvwxyz";
>    bar = str;
> }

I'm not totally clear on what this is testing.  And where do you set
-fexec-charset=IBM-1047?

zw


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