On Wed, Jul 1, 2015 at 12:32 PM, Matthew Wahab <matthew.wa...@foss.arm.com> wrote: > Hello, > > Tests I recently added for the code generated by the ARM backend for the > __sync > builtins had > > - 'do-require-effective-target', instead of the directive > 'dg-require-effective-target' and > - 'stlex' instead of 'strex' in the expected output for > armv8-sync-op-acquire.c > > This meant the tests ran on targets that did not support them and reported a > failure for correct code. This patch fixes both mistakes. > > Tested arm-none-linux-gnueabihf with check-gcc. > > Ok for trunk? > Matthew
OK - I must be going blind. Ramana > > gcc/testsuite > 2015-07-01 Matthew Wahab <matthew.wa...@arm.com> > > * gcc.target/arm/armv8-sync-comp-swap.c: Replace > 'do-require-effective-target' with 'dg-require-effective-target'. > * gcc.target/arm/armv8-sync-op-full.c: Likewise. > * gcc.target/arm/armv8-sync-op-release.c: Likewise. > * gcc.target/arm/armv8-sync-op-acquire.c: Likewise. Also, replace > 'stlex' with 'strex' as the expected output.