OSDN Git Service

2004-10-05 Andrew Pinski <pinskia@physics.uc.edu>
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / gcc.c-torture / compile / 20000427-1.c
1 int lwidth;                                                                   
2 int lheight;                                                                  
3 void ConvertFor3dDriver (int requirePO2, int maxAspect)       
4 {                                                     
5   int oldw = lwidth, oldh = lheight;                      
6
7   lheight = FindNearestPowerOf2 (lheight);            
8   while (lwidth/lheight > maxAspect) lheight += lheight;              
9 }