https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67211

--- Comment #12 from Michael Meissner <meissner at gcc dot gnu.org> ---
Created attachment 36231
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=36231&action=edit
Patch to fix problem for gcc 6.x that was submitted to gcc-patches

[gcc]
2015-08-20  Michael Meissner  <meiss...@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-20  Michael Meissner  <meiss...@linux.vnet.ibm.com>

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

Reply via email to