simplified undefined behavior for better compile time processing

--HG--
branch : trunk
6 files changed