Changed the way jumps are generated to avoid generating jumps to the
[sixpic.git] / tests / misc / register-mess-up.c
blobb45c8a440f467e3df82ae080feb0f9cb61bd6677
1 // this used to be a tricky case. since y was not live before the if, it didn't interfere with x, and was allocated at the same place, which cleared x. this is now solved.
2 byte f(){
3 byte x = 2;
4 byte y = 0;
5 if (x) y = 4;
6 else y = 3;
7 return y;
9 f();