c++: normalizing ttp constraints [PR115656]
[official-gcc.git] / gcc / testsuite / gcc.c-torture / compile / 20000427-1.c
blobadd457ec121c23f3a42d07f490d519f2242cb590
1 int lwidth;
2 int lheight;
3 int FindNearestPowerOf2 (int);
4 void ConvertFor3dDriver (int requirePO2, int maxAspect)
5 {
6 int oldw = lwidth, oldh = lheight;
8 lheight = FindNearestPowerOf2 (lheight);
9 while (lwidth/lheight > maxAspect) lheight += lheight;