re PR target/67211 (ICE (insn does not satisfy its constraints) on powerpc64le-linux...
authorMichael Meissner <meissner@linux.vnet.ibm.com>
Mon, 24 Aug 2015 18:43:02 +0000 (18:43 +0000)
committerMichael Meissner <meissner@gcc.gnu.org>
Mon, 24 Aug 2015 18:43:02 +0000 (18:43 +0000)
commit74457d003ed7f9577931ae6d7adaa906fc0a0473
treeabf43cf752e7c4e7e8c4c72cb825552289ec03fd
parent58d745ec901a3707c1e6487ce8c0eca387ec5f42
re PR target/67211 (ICE (insn does not satisfy its constraints) on powerpc64le-linux-gnu)

[gcc]
2015-08-24  Michael Meissner  <meissner@linux.vnet.ibm.com>

PR target/67211
* config/rs6000/rs6000-cpus.def (ISA_2_7_MASKS_SERVER): Set
-mefficient-unaligned-vsx on ISA 2.7.

* config/rs6000/rs6000.opt (-mefficient-unaligned-vsx): Convert
option to a masked option.

* config/rs6000/rs6000.c (rs6000_option_override_internal): Rework
logic for -mefficient-unaligned-vsx so that it is set via an arch
ISA option, instead of being set if -mtune=power8 is set. Move
-mefficient-unaligned-vsx and -mallow-movmisalign handling to be
near other default option handling.

[gcc/testsuite]
2015-08-24  Michael Meissner  <meissner@linux.vnet.ibm.com>

PR target/67211
* g++.dg/pr67211.C: New test.

From-SVN: r227144
gcc/ChangeLog
gcc/config/rs6000/rs6000-cpus.def
gcc/config/rs6000/rs6000.c
gcc/config/rs6000/rs6000.opt
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/pr67211.C [new file with mode: 0644]