r255349 - in /trunk/gcc: ChangeLog config/rs600...

segher@gcc.gnu.org segher@gcc.gnu.org
Sat Dec 2 01:23:00 GMT 2017


Author: segher
Date: Sat Dec  2 01:23:41 2017
New Revision: 255349

URL: https://gcc.gnu.org/viewcvs?rev=255349&root=gcc&view=rev
Log:
rs6000: Set rs6000_cpu correctly (PR43871)

We set rs6000_cpu based on tune_index, but it should be cpu_index.
This patch fixes it.


	PR target/43871
	* config/rs6000/rs6000.c (rs6000_option_override_internal): Set
	rs6000_cpu based on cpu_index, not tune_index.

Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/config/rs6000/rs6000.c



More information about the Gcc-cvs mailing list