I noticed that compiling pymol using GCC Ubuntu/Linaro 4.5.2-8ubuntu4 (I'm using Ubuntu) brings to a crash of the compiler. I know that it's a compiler problem, but I've been able to avoid it changing the code just a bit.
The problem is due to nested switches, and I saw that changing just one "switch" to a "if" statement fixes the problem. Maybe it's not necessary to change anything in the repository, but having a known workaround could be useful.
I attach the patch that fixes the problem.
Thanks for your support.