D-Programming-Language/dmd — pull request #2126 by donc (2013-06-03 09:54:05+00:00)
Title: 10251 CTFE returning pointers to global statics of known value

This is part of my project to unify optimize(WANTinterpret) and CTFE.
It's something which worked in constfolding but not CTFE.

Don't expand pointers to global variables.
They should stay as a SymOffExp, even if their value is known.