OSDN Git Service

2009-08-11 Andrew Haley <aph@redhat.com>
authoraph <aph@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 12 Aug 2009 15:55:19 +0000 (15:55 +0000)
committeraph <aph@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 12 Aug 2009 15:55:19 +0000 (15:55 +0000)
* gcc.target/arm/synchronize.c: New file.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@150698 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/arm/synchronize.c [new file with mode: 0644]

index 02148b6..76913f6 100644 (file)
@@ -1,3 +1,7 @@
+2009-08-11  Andrew Haley  <aph@redhat.com>
+
+       * gcc.target/arm/synchronize.c: New file.
+
 2009-08-12  Sebastian Pop  <sebastian.pop@amd.com>
 
        PR middle-end/40980
 2009-08-12  Sebastian Pop  <sebastian.pop@amd.com>
 
        PR middle-end/40980
diff --git a/gcc/testsuite/gcc.target/arm/synchronize.c b/gcc/testsuite/gcc.target/arm/synchronize.c
new file mode 100644 (file)
index 0000000..81ed848
--- /dev/null
@@ -0,0 +1,6 @@
+/* { dg-final { scan-assembler "__sync_synchronize" { target arm*-*-linux-*eabi } } } */
+
+void *foo (void)
+{
+  __sync_synchronize();
+}