repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
[NDS32] Add intrinsic functions for TLB operation and data prefech.
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.dg
/
pr82975.c
blob
422ba6c6855fe80f4e90d9df325abca66ac3f762
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*-*-* } } */
5
6
typedef
__SIZE_TYPE__
size_t
;
7
8
struct
S1
9
{
10
char
pad1
;
11
char
val
;
12
short
pad2
;
13
};
14
15
extern
char
t
[
256
];
16
17
void
foo
(
struct
S1 a
,
size_t
i
)
18
{
19
t
[
i
] =
a
.
val
;
20
}