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
Require target lra in gcc.dg/pr108095.c
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.dg
/
pr105630.c
blob
c39ca7dda272a730da3d6059fb3cf631a3859861
1
/* PR debug/105630 */
2
/* { dg-do compile { target pthread } } */
3
/* { dg-options "-O1 -ftree-parallelize-loops=2 -fcompare-debug" } */
4
5
int
m
;
6
static int
n
;
7
8
void
9
foo
(
void
)
10
{
11
int
*
arr
[] = { &
n
, &
n
, &
n
};
12
int
unused
=
n
;
13
14
m
=
0
;
15
}
16
17
void
18
bar
(
int
*
arr
,
int
i
)
19
{
20
while
(
i
<
1
)
21
arr
[
i
++] =
1
;
22
}