declarations in for loops. This fixes the build with base-gcc. Tested on sparc64 by kmos@, on macppc and amd64 by me. OK kmos@