9982 ICE or wrong code for CTFE pointer dereference

This is actually two independent bugs.
http://d.puremagic.com/issues/show_bug.cgi?id=9982