Tests for changes made in r45356, where IPO optimizations would drop