From: Segher Boessenkool Date: Mon, 4 Dec 2017 09:19:27 +0000 (+0100) Subject: re PR bootstrap/83265 (Bootstrap failure on powerpc64) X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=155f67eb98d082414be01425ca5eff3b9c3230fe;p=gcc.git re PR bootstrap/83265 (Bootstrap failure on powerpc64) PR bootstrap/83265 Revert 2017-12-01 Segher Boessenkool PR target/43871 * config/rs6000/rs6000.c (rs6000_option_override_internal): Set rs6000_cpu based on cpu_index, not tune_index. From-SVN: r255376 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index acde3e97806..95496132a2b 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,13 @@ +2017-12-04 Segher Boessenkool + + PR bootstrap/83265 + Revert + 2017-12-01 Segher Boessenkool + + PR target/43871 + * config/rs6000/rs6000.c (rs6000_option_override_internal): Set + rs6000_cpu based on cpu_index, not tune_index. + 2017-12-04 Richard Biener PR tree-optimization/83238 diff --git a/gcc/config/rs6000/rs6000.c b/gcc/config/rs6000/rs6000.c index ed668d05eea..045a0146507 100644 --- a/gcc/config/rs6000/rs6000.c +++ b/gcc/config/rs6000/rs6000.c @@ -4184,8 +4184,8 @@ rs6000_option_override_internal (bool global_init_p) } } - gcc_assert (cpu_index >= 0); - rs6000_cpu = processor_target_table[cpu_index].processor; + gcc_assert (tune_index >= 0); + rs6000_cpu = processor_target_table[tune_index].processor; if (rs6000_cpu == PROCESSOR_PPCE300C2 || rs6000_cpu == PROCESSOR_PPCE300C3 || rs6000_cpu == PROCESSOR_PPCE500MC || rs6000_cpu == PROCESSOR_PPCE500MC64