summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.c-torture/compile/20000427-1.c
blob: dc51419cf01284add0c341f5577d961bc8148b2f (plain)
1
2
3
4
5
6
7
8
9
int lwidth;                                                                   
int lheight;                                                                  
void ConvertFor3dDriver (int requirePO2, int maxAspect)       
{                                                     
  int oldw = lwidth, oldh = lheight;                      

  lheight = FindNearestPowerOf2 (lheight);            
  while (lwidth/lheight > maxAspect) lheight += lheight;              
}