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
Document gcov-io (PR gcov-profile/84735).
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.dg
/
pr44545.c
blob
8058261f850fa68571e410cf589bd32ec39d3175
1
/* { dg-do compile } */
2
/* { dg-options "-O2 -fnon-call-exceptions -ftrapv -fexceptions" } */
3
void
4
DrawChunk
(
int
*
tabSize
,
int
x
)
5
{
6
const int
numEnds
=
10
;
7
int
ends
[
numEnds
+
2
];
8
if
(*
tabSize
>
0
) {
9
x
-=
5
;
10
x
= (
x
+ *
tabSize
) / *
tabSize
;
11
}
12
}
13