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
Corrected date in changelog
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.dg
/
pr68317.c
blob
7b5656395886e18a71d8815eca03292cfb50be12
1
/* { dg-do compile } */
2
/* { dg-options "-O2" } */
3
4
void
bar
(
int
);
5
6
void
7
foo
()
8
{
9
int
index
=
0
;
10
11
for
(
index
;
index
<=
10
;
index
--)
12
/* Result of the following multiply will overflow
13
when converted to signed int. */
14
bar
((
0xcafe
+
index
) *
0xdead
);
15
}