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/78378] [5 Regression] wrong code when combining shift + mult + zero_extend


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

--- Comment #11 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Tue May 30 07:40:21 2017
New Revision: 248623

URL: https://gcc.gnu.org/viewcvs?rev=248623&root=gcc&view=rev
Log:
        Backported from mainline
        2016-11-16  Jakub Jelinek  <jakub@redhat.com>

        PR rtl-optimization/78378
        * combine.c (make_extraction): Use force_to_mode for non-{REG,MEM}
        inner only if pos is 0.  Fix up formatting.

        * gcc.c-torture/execute/pr78378.c: New test.

Added:
    branches/gcc-5-branch/gcc/testsuite/gcc.c-torture/execute/pr78378.c
Modified:
    branches/gcc-5-branch/gcc/ChangeLog
    branches/gcc-5-branch/gcc/combine.c
    branches/gcc-5-branch/gcc/testsuite/ChangeLog

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