Message ID | 5565A3E8.2090000@arm.com |
---|---|
State | New |
Headers | show |
Index: testsuite/gcc.target/arm/a9-volatile-ordering-erratum-2.c =================================================================== --- testsuite/gcc.target/arm/a9-volatile-ordering-erratum-2.c (revision 0) +++ testsuite/gcc.target/arm/a9-volatile-ordering-erratum-2.c (revision 0) @@ -0,0 +1,14 @@ +/* { dg-do compile { target arm_dmb } } */ +/* { dg-options "-O2 -mthumb -mfix-cortex-a9-volatile-hazards" } */ Please add a -mno-restrict-it to the options here so that when armv8-a is the default architecture we are still allowed to conditionalise dmb. +static bool +any_volatile_loads_p (const_rtx body) +{ + int i, j; + rtx lhs, rhs; + enum rtx_code code; + const char *fmt; +