]> git.ipfire.org Git - thirdparty/gcc.git/commit
rs6000: Initialise rs6000_cpu correctly (PR43871)
authorsegher <segher@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 7 Dec 2017 09:36:28 +0000 (09:36 +0000)
committersegher <segher@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 7 Dec 2017 09:36:28 +0000 (09:36 +0000)
commitfd2ce043154c55383dad745258bcea0475267116
tree777389d7d15cb706975c7fbd1517f7159163ee5f
parent1bd1c9882bdc29cf0dcb5c9f5c40922419d304bd
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@255464 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/config/rs6000/rs6000.c