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 tree-optimization/65418] [5 Regression] vim miscompilation


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

--- Comment #2 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Sat Mar 14 09:55:41 2015
New Revision: 221434

URL: https://gcc.gnu.org/viewcvs?rev=221434&root=gcc&view=rev
Log:
    PR tree-optimization/65418
    * tree-ssa-reassoc.c (extract_bit_test_mask): If there
    are casts in the first PLUS_EXPR operand, ensure tbias and
    *totallowp are in the inner type.

    * gcc.c-torture/execute/pr65418-1.c: New test.
    * gcc.c-torture/execute/pr65418-2.c: New test.

Added:
    trunk/gcc/testsuite/gcc.c-torture/execute/pr65418-1.c
    trunk/gcc/testsuite/gcc.c-torture/execute/pr65418-2.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/tree-ssa-reassoc.c


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