PR tree-optimization/83369 - Missing diagnostics during inlining
[official-gcc.git] / gcc / testsuite / gcc.dg / pr44545.c
blob8058261f850fa68571e410cf589bd32ec39d3175
1 /* { dg-do compile } */
2 /* { dg-options "-O2 -fnon-call-exceptions -ftrapv -fexceptions" } */
3 void
4 DrawChunk(int *tabSize, int x)
6 const int numEnds = 10;
7 int ends[numEnds + 2];
8 if (*tabSize > 0) {
9 x -= 5;
10 x = (x + *tabSize) / *tabSize;