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/82192] [6/7 Regression] gcc produces incorrect code with -O2 and bit-field


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

--- Comment #20 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Fri Oct 27 20:32:21 2017
New Revision: 254177

URL: https://gcc.gnu.org/viewcvs?rev=254177&root=gcc&view=rev
Log:
        Backported from mainline
        2017-09-15  Jakub Jelinek  <jakub@redhat.com>

        PR rtl-optimization/82192
        * combine.c (make_extraction): Don't look through non-paradoxical
        SUBREGs or TRUNCATE if pos + len is or might be bigger than
        inner's mode.

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

Added:
    branches/gcc-7-branch/gcc/testsuite/gcc.c-torture/execute/pr82192.c
Modified:
    branches/gcc-7-branch/gcc/ChangeLog
    branches/gcc-7-branch/gcc/combine.c
    branches/gcc-7-branch/gcc/testsuite/ChangeLog

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