1 /* PR optimization/7520 */ 2 /* ICE at -O3 on x86 due to register life problems caused by 3 the return-without-value in bar. */ 4 5 int foo()6foo () 7 { 8 int i; 9 long long int j; 10 11 while (1) 12 { 13 if (j & 1) 14 ++i; 15 j >>= 1; 16 if (j) 17 return i; 18 } 19 } 20 21 int bar()22bar () 23 { 24 if (foo ()) 25 return; 26 } 27