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
testsuite: Fix pr101145inf*.c testcases [PR117494]
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
torture
/
pr110332.C
blob
31dc93ecee455bd50a8160572cb3941ea830a7c2
1
// { dg-do compile }
2
3
struct SlotIndex { int lie; };
4
SlotIndex si7, si8;
5
6
unsigned u9, u6;
7
bool b3, b4;
8
unsigned &value() {
9
return b4 ? u6 : u9;
10
}
11
void transferValues() {
12
unsigned RegIdx;
13
SlotIndex End;
14
RegIdx = value();
15
End = b3 ? si7 : si8;
16
}