asm5.c: New.

2004-06-15  Eric Christopher  <echristo@redhat.com>

        * g++.dg/charset/asm5.c: New.
        * gcc.dg/charset/asm6.c: New.

From-SVN: r83215
This commit is contained in:
Eric Christopher 2004-06-15 23:09:24 +00:00 committed by Eric Christopher
parent 161b0a84ef
commit 6bf3d92c78
3 changed files with 32 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2004-06-15 Eric Christopher <echristo@redhat.com>
* g++.dg/charset/asm5.c: New.
* gcc.dg/charset/asm6.c: New.
2004-06-15 Tobias Schlueter <tobias.schlueter@physik.uni-muenchen.de>
PR fortran/15962
@ -39,7 +44,7 @@
PR fortran/14928
* gfortran.fortran-torture/compile/mloc.f90: New test.
2004-06-13 Paul Brook <paul@codesourcery.com>
* gfortran.fortran-torture/execute/random_2.f90: New test.

View File

@ -0,0 +1,13 @@
/* Test for string translation. */
/* { dg-do compile }
{ dg-require-iconv "IBM-1047" }
{ dg-final { scan-assembler "foo" } } */
int main()
{
unsigned long int *ptr;
ptr = ((unsigned long int *)
( { void *stack_ptr;
__asm__ __volatile__ ( "foo %0" : "=r" (stack_ptr) );
(stack_ptr); } ) );
return 0;
}

View File

@ -0,0 +1,13 @@
/* Test for string translation. */
/* { dg-do compile }
{ dg-require-iconv "IBM-1047" }
{ dg-final { scan-assembler "foo" } } */
int main()
{
unsigned long int *ptr;
ptr = ((unsigned long int *)
( { void *stack_ptr;
__asm__ __volatile__ ( "foo %0" : "=r" (stack_ptr) );
(stack_ptr); } ) );
return 0;
}