Commit 1c93d557 by Hans-Peter Nilsson Committed by Hans-Peter Nilsson

* gcc.target/cris/torture/pr34773.c: Use __asm__, not asm.

From-SVN: r132064
parent 9a212bb7
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> 2008-02-01 Hans-Peter Nilsson <hp@axis.com>
PR rtl-optimization/34773 PR rtl-optimization/34773
...@@ -25,7 +25,7 @@ _vfprintf_r(double da) ...@@ -25,7 +25,7 @@ _vfprintf_r(double da)
if (ffp != 0) if (ffp != 0)
__sprint_r(value == 0); __sprint_r(value == 0);
asm (""); __asm__ ("");
} }
...@@ -39,14 +39,14 @@ void _dtoa_r (double d) ...@@ -39,14 +39,14 @@ void _dtoa_r (double d)
{ {
if (d != ff) if (d != ff)
abort (); abort ();
asm (""); __asm__ ("");
} }
void __sprint_r (int i) void __sprint_r (int i)
{ {
if (i != 0) if (i != 0)
abort (); abort ();
asm (""); __asm__ ("");
} }
int clearstack (void) __attribute__ ((__noinline__)); int clearstack (void) __attribute__ ((__noinline__));
...@@ -54,7 +54,7 @@ int clearstack (void) ...@@ -54,7 +54,7 @@ int clearstack (void)
{ {
char doodle[128]; char doodle[128];
memset (doodle, 0, sizeof doodle); memset (doodle, 0, sizeof doodle);
asm volatile ("" : : "g" (doodle) : "memory"); __asm__ volatile ("" : : "g" (doodle) : "memory");
return doodle[127]; return doodle[127];
} }
...@@ -63,7 +63,7 @@ void doit (void) ...@@ -63,7 +63,7 @@ void doit (void)
{ {
_vfprintf_r (dd); _vfprintf_r (dd);
_vfprintf_r (ff); _vfprintf_r (ff);
asm (""); __asm__ ("");
} }
int main(void) int main(void)
......
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