Debian Codegraph @

gcc/testsuite/gcc.dg/pr44545.c

raw
1 /* { dg-do compile } */
2 /* { dg-options "-O2 -fnon-call-exceptions -ftrapv -fexceptions" } */
3 /* { dg-require-effective-target exceptions } */
4 void
5 DrawChunk(int *tabSize, int x)
6 {
7 const int numEnds = 10;
8 int ends[numEnds + 2];
9 if (*tabSize > 0) {
10 x -= 5;
11 x = (x + *tabSize) / *tabSize;
12 }
13 }
14