projects
/
gcc.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Add testcases for PR 47381.
[gcc.git]
/
gcc
/
testsuite
/
gcc.target
/
i386
/
pr47381.c
1
/* { dg-do compile } */
2
/* { dg-options "-O2 -march=atom" } */
3
4
struct
foo_t
{
5
int
limit
;
6
}
foo
[
3
];
7
void
8
bar
() {
9
int
i
;
10
for
(
i
=
0
;
i
<
3
;
i
++) {
11
__builtin_memset
(&
foo
[
i
],
0
,
sizeof
(*
foo
));
12
}
13
}