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

--- Comment #11 from Patrick Palka <ppalka at gcc dot gnu.org> ---
Author: ppalka
Date: Wed Aug 31 19:06:22 2016
New Revision: 239907

URL: https://gcc.gnu.org/viewcvs?rev=239907&root=gcc&view=rev
Log:
Fix folding of VECTOR_CST comparisons

gcc/ChangeLog:

        Backport from mainline
        2016-08-27  Patrick Palka  <ppa...@gcc.gnu.org>

        PR tree-optimization/71077
        PR tree-optimization/68542
        * fold-const.c (fold_relational_const): Fix folding of
        VECTOR_CST comparisons that have a scalar boolean result type.

gcc/testsuite/ChangeLog:

        Backport from mainline
        2016-08-27  Patrick Palka  <ppa...@gcc.gnu.org>

        PR tree-optimization/71077
        * gcc.target/i386/pr71077.c: New test.


Added:
    branches/gcc-6-branch/gcc/testsuite/gcc.target/i386/pr71077.c
Modified:
    branches/gcc-6-branch/gcc/ChangeLog
    branches/gcc-6-branch/gcc/fold-const.c
    branches/gcc-6-branch/gcc/testsuite/ChangeLog

Reply via email to