Small ChangeLog tweak.
[official-gcc.git] / gcc / testsuite / gcc.dg / torture / builtin-self.c
blob6d1719f7517d9c5268b73686109c9b119e67d7b5
1 /* { dg-do compile { target i?86-*-* x86_64-*-* } } */
2 /* Check that we can use this idiom to define out-of-line copies of built-in
3 functions. This is used by libgcc/sync.c, for example. */
4 void __sync_synchronize (void)
6 __sync_synchronize ();
8 /* { dg-final { scan-assembler "__sync_synchronize" } } */
9 /* { dg-final { scan-assembler "\t(lock|mfence)" } } */
10 /* { dg-final { scan-assembler-not "\tcall" } } */