Im not sure I understand.. Oh, I do. No, the "pragma-hack logic" is separated in two parts, this one and the one below trueNeighbors2. 

trueNeighbors2[][][]=1 is executed for all compilers. Just gcc4.6, 4.7 have a bug with -O3 and -Wall, which I needed to avoid if we want -Werror. So for the broken GCCs it'll push settings, set ignore for the warning, execute and pop back prev settings.