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
c++: Fix ICE with #embed/RAW_DATA_CST after list conversion [PR118671]
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.dg
/
torture
/
20141202-1.c
blob
0ea6369f4960f0ea962a834214347a640ded8e0d
1
/* { dg-do run } */
2
3
extern
void
abort
(
void
);
4
5
int
foo
(
int
x
)
6
{
7
return
(
x
/
2
) / ((-
__INT_MAX__
-
1
) / -
2
);
8
}
9
10
int
main
()
11
{
12
if
(
foo
(-
__INT_MAX__
-
1
) != -
1
)
13
abort
();
14
return
0
;
15
}