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
libcpp, c, middle-end: Optimize initializers using #embed in C
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.dg
/
torture
/
pr79740.c
blob
25b8de5356125c6f23bdcc7fd0b582d457efc823
1
/* { dg-do compile } */
2
3
int
a
;
4
short
b
;
5
short
fn1
(
unsigned short
p1
) {
return
p1
<<
a
; }
6
7
int
main
()
8
{
9
short
c
;
10
int
d
=
4
;
11
for
(;
b
;)
12
{
13
c
=
d
+
1
;
14
fn1
(
c
);
15
d
=
0
;
16
}
17
d
++;
18
return
0
;
19
}