Begin optimizer, and change multiply defined entry and exit actions into errors instead of warnings.