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
/
pr77436.c
blob
513867db7cee4584944a9715f6f57fb92f0bb62c
1
/* { dg-do run } */
2
3
int
main
()
4
{
5
unsigned short
sum
=
0
;
6
for
(
short
x
= -(
__SHRT_MAX__
-
1
);
x
<= (
__SHRT_MAX__
-
1
);
x
++)
7
sum
+=
x
;
8
if
(
sum
!=
0
)
9
__builtin_abort
();
10
return
0
;
11
}