From db086c9685f651d62a251aaa0d240a42495ffa60 Mon Sep 17 00:00:00 2001 From: Thomas Preud'homme Date: Thu, 6 Apr 2017 14:53:22 +0000 Subject: [PATCH] [ARM] Compile atomic_loaddi_11 for Cortex-R5 2017-04-06 Thomas Preud'homme PR tree-optimization/80334 diff --git a/gcc/testsuite/gcc.target/arm/atomic_loaddi_11.c b/gcc/testsuite/gcc.target/arm/atomic_loaddi_11.c index 275669bd763..85c64ae68b1 100644 --- a/gcc/testsuite/gcc.target/arm/atomic_loaddi_11.c +++ b/gcc/testsuite/gcc.target/arm/atomic_loaddi_11.c @@ -1,7 +1,7 @@ /* { dg-do compile } */ /* { dg-require-effective-target arm_arch_v7r_ok } */ -/* { dg-options "-O2" } */ -/* { dg-add-options arm_arch_v7r } */ +/* { dg-skip-if "do not override -mcpu" { *-*-* } { "-mcpu=*" "-march=*" } { "-mcpu=cortex-r5" } } */ +/* { dg-options "-O2 -mcpu=cortex-r5" } */ #include -- 2.30.2