Revert patchset for c++/16253: it causes a large performance regression.
See the bug for further information.