[Bug target/65787] [5 Regression] Miscompile due to bad vector swap optimization for little endian

wschmidt at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Sun Apr 19 16:51:00 GMT 2015


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

--- Comment #10 from Bill Schmidt <wschmidt at gcc dot gnu.org> ---
Author: wschmidt
Date: Sun Apr 19 16:51:12 2015
New Revision: 222221

URL: https://gcc.gnu.org/viewcvs?rev=222221&root=gcc&view=rev
Log:
[gcc]

2015-04-18  Bill Schmidt  <wschmidt@linux.vnet.ibm.com>
        Jakub Jelinek  <jakub@redhat.com>

    Backport from mainline r222205
    2015-04-17  Bill Schmidt  <wschmidt@linux.vnet.ibm.com>
                Jakub Jelinek  <jakub@redhat.com>

    PR target/65787
    * config/rs6000/rs6000.c (rtx_is_swappable_p): Ensure that a
    subsequent SH_NONE operand does not overwrite an existing *special
    value.
    (adjust_extract): Handle case where a vec_extract operation is
    wrapped in a PARALLEL.

[gcc/testsuite]

2015-04-18  Bill Schmidt  <wschmidt@linux.vnet.ibm.com>

    Backport from mainline r222205
    2015-04-17  Bill Schmidt  <wschmidt@linux.vnet.ibm.com>

    PR target/65787
    * gcc.target/powerpc/pr65787.c: New.


Added:
    branches/gcc-4_9-branch/gcc/testsuite/gcc.target/powerpc/pr65787.c
Modified:
    branches/gcc-4_9-branch/gcc/ChangeLog
    branches/gcc-4_9-branch/gcc/config/rs6000/rs6000.c
    branches/gcc-4_9-branch/gcc/testsuite/ChangeLog



More information about the Gcc-bugs mailing list