https://gcc.gnu.org/bugzilla/show_bug.cgi?id=43871
--- Comment #7 from Segher Boessenkool <segher at gcc dot gnu.org> --- Author: segher Date: Thu Dec 7 09:36:28 2017 New Revision: 255464 URL: https://gcc.gnu.org/viewcvs?rev=255464&root=gcc&view=rev Log: rs6000: Initialise rs6000_cpu correctly (PR43871) Finally, set rs6000_cpu based not on -mtune=, but only -mcpu= and the defaults. PR target/43871 * config/rs6000/rs6000.c (rs6000_option_override_internal): Set rs6000_cpu to the given -mcpu=, or to the default processor. Modified: trunk/gcc/ChangeLog trunk/gcc/config/rs6000/rs6000.c