rs6000-cpus.def (POWERPC_MASKS): Don't assume OPTION_MASK_STRICT_ALIGN is defined.
authorMichael Meissner <meissner@linux.vnet.ibm.com>
Fri, 19 Oct 2012 19:10:03 +0000 (19:10 +0000)
committerMichael Meissner <meissner@gcc.gnu.org>
Fri, 19 Oct 2012 19:10:03 +0000 (19:10 +0000)
commitad1a0853e6c4b8a8a62aaec5d349bb240bd72255
treeb1169cdb2e369d59a4fdc2661831f4a810066dbe
parent704fc8502fc5ac926349d11d4b6622493e4492fb
rs6000-cpus.def (POWERPC_MASKS): Don't assume OPTION_MASK_STRICT_ALIGN is defined.

[gcc]
2012-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
    Dominique Dhumieres  <dominiq@lps.ens.fr>

* config/rs6000/rs6000-cpus.def (POWERPC_MASKS): Don't assume
OPTION_MASK_STRICT_ALIGN is defined.
(MASK_STRICT_ALIGN): If OPTION_MASK_STRICT_ALIGN is not defined,
define this to 0 for the 3 ports that use it.

* config/rs6000/rs6000.c (OPTION_MASK_STRICT_ALIGN): Don't do
check for ports not having -mstrict-align here, move test to
rs6000-cpus.def.
(MASK_STRICT_ALIGN): Likewise.
(rs6000_debug_reg_global): Print out correct target flag words if
-mdebug=reg.

[libobjc]
2012-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>

* encoding.c (TARGET_VSX): Provide definitions based on the
current compilation options, and not based off the target options
structure.
(TARGET_ALTIVEC): Likewise.
(TARGET_64BIT): Likewise.

Co-Authored-By: Dominique d'Humieres <dominiq@lps.ens.fr>
From-SVN: r192623
gcc/ChangeLog
gcc/config/rs6000/rs6000-cpus.def
gcc/config/rs6000/rs6000.c
libobjc/ChangeLog
libobjc/encoding.c