2004-06-15 Eric Christopher <echristo@redhat.com>
* g++.dg/charset/asm5.c: New.
* gcc.dg/charset/asm6.c: New.
From-SVN: r83215
+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
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.
--- /dev/null
+/* 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;
+}
--- /dev/null
+/* 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;
+}