OSDN Git Service
(root)
/
pf3gnuchains
/
gcc-fork.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
2011-10-18 Janus Weil <janus@gcc.gnu.org>
[pf3gnuchains/gcc-fork.git]
/
gcc
/
testsuite
/
gcc.dg
/
pr44545.c
1
/* { dg-do compile } */
2
/* { dg-options "-O2 -fnon-call-exceptions -ftrapv -fexceptions" } */
3
int
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