https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79742
--- Comment #4 from Richard Earnshaw <rearnsha at gcc dot gnu.org> --- Author: rearnsha Date: Tue Feb 28 14:17:29 2017 New Revision: 245775 URL: https://gcc.gnu.org/viewcvs?rev=245775&root=gcc&view=rev Log: [ARM] Fix PR79742 incorrect scheduler choice. Due to an oversight, the changes to use the new CPU generation tables forgot to handle selecting a scheduler for a CPU other than the named CPU target. This meant that if, say, cortex-a12 was used, the null scheduler was chosen rather than cortex-a17's scheduler as intended. The fix is to correctly use the 'tune for' field when generating the target-specific data files. This revealed a spelling mistake in the name of the tune target in cortex-m0.small-multiply. PR target/79742 * config/arm/parsecpu.awk (gen_data): Set tuning target to 'tune for' entry, if present. * config/arm/arm-cpus.in (cortex-m0plus.small-multiply): Correct 'tune for' CPU name. * config/arm/arm-cpu-data.h: Regenerated. Modified: trunk/gcc/ChangeLog trunk/gcc/config/arm/arm-cpu-data.h trunk/gcc/config/arm/arm-cpus.in trunk/gcc/config/arm/parsecpu.awk