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
/
bitint-110.c
blob
4ba2f93856e5c72f91a138c46dddcc574784e5df
1
/* PR middle-end/116898 */
2
/* { dg-do compile { target bitint575 } } */
3
/* { dg-options "-O -finstrument-functions -fnon-call-exceptions" } */
4
5
_BitInt
(
127
)
a
;
6
_BitInt
(
511
)
b
;
7
8
void
9
foo
(
_BitInt
(
31
)
c
)
10
{
11
do
12
{
13
c
%=
b
;
14
again
:
15
}
16
while
(
c
);
17
a
/=
0
;
/* { dg-warning "division by zero" } */
18
c
-=
a
;
19
goto
again
;
20
}