This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug rtl-optimization/71956] [7 Regression] 176.gcc fails on 32 bits when compiled with -march=core-avx2


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

--- Comment #5 from Yuri Rumyantsev <ysrumyan at gmail dot com> ---
This bug is fixed by
Author: ppalka
Date: Sat Aug 27 22:00:17 2016
New Revision: 239798

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

gcc/ChangeLog:

        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.
        (selftest::test_vector_folding): New static function.
        (selftest::fold_const_c_tests): Call it.

gcc/testsuite/ChangeLog:

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


Added:
    trunk/gcc/testsuite/gcc.target/i386/pr71077.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/fold-const.c
    trunk/gcc/testsuite/ChangeLog

So this bug must be closed.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]