https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93188
--- Comment #4 from Richard Earnshaw <rearnsha at gcc dot gnu.org> --- Author: rearnsha Date: Fri Jan 10 16:50:15 2020 New Revision: 280123 URL: https://gcc.gnu.org/viewcvs?rev=280123&root=gcc&view=rev Log: backport: arm: Fix rmprofile multilibs when architecture includes +mp or +sec (PR target/93188) When only the rmprofile multilibs are built, compiling for armv7-a should select the generic v7 multilibs. This used to work before +sec and +mp were added to the architecture options but it was broken by that update. This patch fixes those variants and adds some tests to ensure that they remain fixed gcc/ChangeLog: 2020-01-10 Przemyslaw Wirkus <przemyslaw.wir...@arm.com> Backport from trunk PR target/93188 * config/arm/t-multilib (MULTILIB_MATCHES): Add rules to match armv7-a{+mp,+sec,+mp+sec} to appropriate armv7 multilib variants when only building rm-profile multilibs. gcc/testsuite/ChangeLog: 2020-01-10 Przemyslaw Wirkus <przemyslaw.wir...@arm.com> Backport from trunk * gcc.target/arm/multilib.exp: Add new tests for rm-profile only. Modified: branches/gcc-9-branch/gcc/ChangeLog branches/gcc-9-branch/gcc/config/arm/t-multilib branches/gcc-9-branch/gcc/testsuite/ChangeLog branches/gcc-9-branch/gcc/testsuite/gcc.target/arm/multilib.exp