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
* tree-loop-distribution.c (struct partition): New field recording
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.c-torture
/
compile
/
pr40321.c
blob
a2f83ed8d84af868b94cd4959b277e3cdcb4ccf5
1
struct
X
{
int
flag
;
int
pos
; };
2
int
foo
(
struct
X
*
a
,
struct
X
*
b
)
3
{
4
while
(
1
)
5
{
6
if
(
a
->
flag
)
7
break
;
8
({
struct
X
*
tmp
=
a
;
a
=
b
;
b
=
tmp
; });
9
}
10
11
return
a
->
pos
+
b
->
pos
;
12
}