[NDS32] Add intrinsic functions for TLB operation and data prefech.
[official-gcc.git] / gcc / testsuite / gcc.dg / pr82975.c
blob422ba6c6855fe80f4e90d9df325abca66ac3f762
1 /* PR target/82975. */
2 /* { dg-do compile } */
3 /* { dg-options "-fno-sched-pressure -O2" } */
4 /* { dg-additional-options "-mtune=cortex-a57" { target arm*-*-* aarch64*-*-* } } */
6 typedef __SIZE_TYPE__ size_t;
8 struct S1
10 char pad1;
11 char val;
12 short pad2;
15 extern char t[256];
17 void foo (struct S1 a, size_t i)
19 t[i] = a.val;