Lost upstream patch in merge from gcc-5-branch to linaro/gcc-5-branch