https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87867
--- Comment #3 from Thomas Preud'homme <thopre01 at gcc dot gnu.org> --- Author: thopre01 Date: Wed Nov 21 16:50:37 2018 New Revision: 266348 URL: https://gcc.gnu.org/viewcvs?rev=266348&root=gcc&view=rev Log: 2018-11-21 Mihail Ionescu <mihail.ione...@arm.com> gcc/ PR target/87867 Backport from mainiline 2018-09-26 Eric Botcazou <ebotca...@adacore.com> * config/arm/arm.c (arm_reorg): Skip Thumb reorg pass for thunks. (arm32_output_mi_thunk): Deal with long calls. gcc/testsuite/ PR target/87867 Backport from mainiline 2018-09-17 Eric Botcazou <ebotca...@adacore.com> * g++.dg/other/thunk2a.C: New test. * g++.dg/other/thunk2b.C: Likewise. Added: branches/gcc-7-branch/gcc/testsuite/g++.dg/other/thunk1.C - copied, changed from r266330, branches/gcc-7-branch/gcc/testsuite/g++.dg/other/vthunk1.C branches/gcc-7-branch/gcc/testsuite/g++.dg/other/thunk2a.C branches/gcc-7-branch/gcc/testsuite/g++.dg/other/thunk2b.C Removed: branches/gcc-7-branch/gcc/testsuite/g++.dg/other/vthunk1.C Modified: branches/gcc-7-branch/gcc/ChangeLog branches/gcc-7-branch/gcc/config/arm/arm.c branches/gcc-7-branch/gcc/testsuite/ChangeLog