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
PR c++/80290
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
tree-ssa
/
pr41961.C
blob
229e7d4b93935cf0f48062699685da326eaaa87f
1
// { dg-do compile }
2
// { dg-require-effective-target pthread }
3
// { dg-options "-O3 -ftree-parallelize-loops=2" }
4
5
struct A
6
{
7
char c[17];
8
void foo();
9
};
10
11
void A::foo()
12
{
13
for (int i = 0; i < 17; ++i)
14
c[i] = 0;
15
}