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/64183] [5.0 Regression] Complete unroll doesn't happen for a while-loop


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

--- Comment #6 from Marek Polacek <mpolacek at gcc dot gnu.org> ---
Author: mpolacek
Date: Sat Dec  6 13:10:31 2014
New Revision: 218447

URL: https://gcc.gnu.org/viewcvs?rev=218447&root=gcc&view=rev
Log:
    PR tree-optimization/64183
    * c-gimplify.c (c_gimplify_expr): Don't convert the RHS of a
    shift-expression if it is integer_type_node.  Use types_compatible_p.

    * gcc.dg/tree-ssa/pr64183.c: New test.

Added:
    trunk/gcc/testsuite/gcc.dg/tree-ssa/pr64183.c
Modified:
    trunk/gcc/c-family/ChangeLog
    trunk/gcc/c-family/c-gimplify.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]