2012-03-08 Michael Meissner <meissner@the-meissners.org>
commit8a3c7c63c6f86d2384eafc5fc3eb2136510f31da
authormeissner <meissner@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 9 Mar 2012 16:56:25 +0000 (9 16:56 +0000)
committermeissner <meissner@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 9 Mar 2012 16:56:25 +0000 (9 16:56 +0000)
treec6e446946ae4532ed5a4bf96a7cfd1dd1cd132cc
parent1b9894316c11bdba71a60dc8cd74694489862326
2012-03-08  Michael Meissner  <meissner@the-meissners.org>

* config/rs6000/linux64.h (OPTION_TARGET_CPU_DEFAULT): Do not
redefine to be NULL if the current bit-size is different from the
configured bit-size.

* config/rs6000/rs6000.c (rs6000_option_override_internal): If the
cpu is defaulted, use PROCESSOR_DEFAULT and PROCESSOR_DEFAULT64 to
set the default tuning.  Add asserts to make sure the cpu and tune
indexes are defined.  Fix tests for cpu/tune index to use >= 0 to
test whether the index is set, instead of > 0.
(rs6000_file_start): Do not reset the default cpu if the current
bit-size is different from the configured bit-size.

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