]> git.ipfire.org Git - thirdparty/gcc.git/commit
linux64.h (OPTION_TARGET_CPU_DEFAULT): Do not redefine to be NULL if the current...
authorMichael Meissner <meissner@linux.vnet.ibm.com>
Fri, 9 Mar 2012 16:56:25 +0000 (16:56 +0000)
committerMichael Meissner <meissner@gcc.gnu.org>
Fri, 9 Mar 2012 16:56:25 +0000 (16:56 +0000)
commit45cfa18d29bc5a59845d7254eec5458c8272530f
treec6e446946ae4532ed5a4bf96a7cfd1dd1cd132cc
parentd3a26d5d27e7104a62b1c2e0fd64f917b9328826
linux64.h (OPTION_TARGET_CPU_DEFAULT): Do not redefine to be NULL if the current bit-size is different from the...

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.

From-SVN: r185146
gcc/ChangeLog
gcc/config/rs6000/linux64.h
gcc/config/rs6000/rs6000.c