Commit 6bf3d92c by Eric Christopher Committed by Eric Christopher

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
parent 161b0a84
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.
......
/* 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;
}
/* 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;
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment