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
/
pr103838.c
blob
cde44e6e4e3791fcbbac33889e06021a8f43b004
1
/* PR debug/103838 */
2
/* { dg-do compile } */
3
/* { dg-options "-O2 -fcompare-debug" } */
4
5
#ifdef __SIZEOF_INT128__
6
__int128 m
;
7
#else
8
long long
m
;
9
#endif
10
int
n
;
11
12
__attribute__
((
noinline
))
void
13
bar
(
void
)
14
{
15
n
+= !!
m
;
16
}
17
18
void
19
foo
(
void
)
20
{
21
int
i
;
22
23
for
(
i
=
0
;
i
<
2
; ++
i
)
24
{
25
bar
();
26
m
/=
3
;
27
}
28
}