> I don't think that the compiler has a right to remove my test, just > because it assumes that if I derferenced a pointer then it surely was not > NULL.
While not related to your testcase directly, you contributed to finding a couple of relatively severe bugs in GCC, so thank you! Paolo