aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorHans-Peter Nilsson <hp@axis.com>2008-02-02 03:38:51 +0000
committerHans-Peter Nilsson <hp@gcc.gnu.org>2008-02-02 03:38:51 +0000
commit1c93d55727c0eaf11f41b4d6bb7e1a1f8472f8d3 (patch)
tree8a410e9ecf6b3e1e546cdd2db353d1b737ba4747 /gcc
parent9a212bb7ac34c0b9625cd5707797cf21c9245242 (diff)
downloadgcc-1c93d55727c0eaf11f41b4d6bb7e1a1f8472f8d3.zip
gcc-1c93d55727c0eaf11f41b4d6bb7e1a1f8472f8d3.tar.gz
gcc-1c93d55727c0eaf11f41b4d6bb7e1a1f8472f8d3.tar.bz2
* gcc.target/cris/torture/pr34773.c: Use __asm__, not asm.
From-SVN: r132064
Diffstat (limited to 'gcc')
-rw-r--r--gcc/testsuite/ChangeLog4
-rw-r--r--gcc/testsuite/gcc.target/cris/torture/pr34773.c10
2 files changed, 9 insertions, 5 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog
index ffd5917..8a96691 100644
--- a/gcc/testsuite/ChangeLog
+++ b/gcc/testsuite/ChangeLog
@@ -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
diff --git a/gcc/testsuite/gcc.target/cris/torture/pr34773.c b/gcc/testsuite/gcc.target/cris/torture/pr34773.c
index 4912611..d3723e3 100644
--- a/gcc/testsuite/gcc.target/cris/torture/pr34773.c
+++ b/gcc/testsuite/gcc.target/cris/torture/pr34773.c
@@ -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)