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/65014] [5 Regression] ice with error: type mismatch in shift expression


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

--- Comment #6 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Thu Feb 12 09:45:27 2015
New Revision: 220640

URL: https://gcc.gnu.org/viewcvs?rev=220640&root=gcc&view=rev
Log:
    PR tree-optimization/65014
    * fold-const.c (fold_binary_loc): When creating {L,R}ROTATE_EXPR,
    use original second operand of arg0 or arg1 instead of
    that adjusted by STRIP_NOPS.

    * gcc.c-torture/compile/pr65014.c: New test.

Added:
    trunk/gcc/testsuite/gcc.c-torture/compile/pr65014.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/fold-const.c
    trunk/gcc/testsuite/ChangeLog


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