Yep, fine, GCC 3 compiles and runs it smoothly. Thanks for letting me know that there's no bug in code. I think I shan't install GCC 4 until the stable release. Both my CRUX and Ubuntu use 4 and I have installed 3.4 on Ubuntu machine.