/* { dg-options "-O2 -mr10k-cache-barrier=store -mabi=64" } */intx[4];voidbar(void);/* Test that out-of-range stores to static objects are protected by a cache barrier. */NOMIPS16voidfoo(intn){while(n--){x[4]=1;bar();}}/* { dg-final { scan-assembler "\tcache\t" } } */