1 /* { dg-do compile } */ 2 /* { dg-options "-O2 -fnon-call-exceptions -ftrapv -fexceptions" } */ 3 int DrawChunk(int * tabSize,int x)4DrawChunk(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 14