[Bug rtl-optimization/82192] [6/7 Regression] gcc produces incorrect code with -O2 and bit-field
jakub at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Mon Jun 25 16:46:00 GMT 2018
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82192
--- Comment #21 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Mon Jun 25 16:45:10 2018
New Revision: 262028
URL: https://gcc.gnu.org/viewcvs?rev=262028&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-6-branch/gcc/testsuite/gcc.c-torture/execute/pr82192.c
Modified:
branches/gcc-6-branch/gcc/ChangeLog
branches/gcc-6-branch/gcc/combine.c
branches/gcc-6-branch/gcc/testsuite/ChangeLog
More information about the Gcc-bugs
mailing list