OSDN Git Service

* gcc.target/cris/torture/pr34773.c: Use __asm__, not asm.
authorhp <hp@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 2 Feb 2008 03:38:51 +0000 (03:38 +0000)
committerhp <hp@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 2 Feb 2008 03:38:51 +0000 (03:38 +0000)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@132064 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/cris/torture/pr34773.c

index ffd5917..8a96691 100644 (file)
@@ -1,3 +1,7 @@
+2008-02-02  Hans-Peter Nilsson  <hp@axis.com>
+
+       * gcc.target/cris/torture/pr34773.c: Use __asm__, not asm.
+
 2008-02-01  Hans-Peter Nilsson  <hp@axis.com>
 
        PR rtl-optimization/34773
index 4912611..d3723e3 100644 (file)
@@ -25,7 +25,7 @@ _vfprintf_r(double da)
 
  if (ffp != 0)
    __sprint_r(value == 0);
asm ("");
__asm__ ("");
 }
 
 
@@ -39,14 +39,14 @@ void _dtoa_r (double d)
 {
   if (d != ff)
     abort ();
-  asm ("");
+  __asm__ ("");
 }
 
 void __sprint_r (int i)
 {
   if (i != 0)
     abort ();
-  asm ("");
+  __asm__ ("");
 }
 
 int clearstack (void) __attribute__ ((__noinline__));
@@ -54,7 +54,7 @@ int clearstack (void)
 {
   char doodle[128];
   memset (doodle, 0, sizeof doodle);
-  asm volatile ("" : : "g" (doodle) : "memory");
+  __asm__ volatile ("" : : "g" (doodle) : "memory");
   return doodle[127];
 }
 
@@ -63,7 +63,7 @@ void doit (void)
 {
   _vfprintf_r (dd);
   _vfprintf_r (ff);
-  asm ("");
+  __asm__ ("");
 }
 
 int main(void)