On Fri, Mar 7, 2014 at 12:45 PM, Marcus Shawcroft <marcus.shawcr...@gmail.com> wrote: > On 7 March 2014 09:35, Thomas Preud'homme <thomas.preudho...@arm.com> wrote: > >> +++ b/gcc/testsuite/gcc.dg/optimize-bswapsi-2.c >> @@ -0,0 +1,26 @@ >> +/* { dg-do compile { target arm*-*-* alpha*-*-* i?86-*-* powerpc*-*-* >> rs6000-*-* x86_64-*-* s390*-*-* } } */ > > I'm fairly sure the target list here should include aarch64*-*-*, I > tried to apply the patch to my tree to check but failed because the > patch appears to have been corrupted by email...
It would be better to make it a runtime testcase that abort()s when miscompiled. Richard. > Cheers > /Marcus