rs6000: Initialise rs6000_cpu correctly (PR43871)
authorSegher Boessenkool <segher@kernel.crashing.org>
Thu, 7 Dec 2017 09:36:28 +0000 (10:36 +0100)
committerSegher Boessenkool <segher@gcc.gnu.org>
Thu, 7 Dec 2017 09:36:28 +0000 (10:36 +0100)
commitd78d986bfa059f3ad53c0be027ff8d3200404fec
tree777389d7d15cb706975c7fbd1517f7159163ee5f
parent39f88700226c8d1f91f4a4ac9d557e721618e87f
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.

From-SVN: r255464
gcc/ChangeLog
gcc/config/rs6000/rs6000.c