Fix some integer constant expression calculation.