[Bug rtl-optimization/78378] [5/6 Regression] wrong code when combining shift + mult + zero_extend
jakub at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Wed Dec 7 22:51:00 GMT 2016
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78378
--- Comment #9 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Wed Dec 7 22:50:53 2016
New Revision: 243402
URL: https://gcc.gnu.org/viewcvs?rev=243402&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-6-branch/gcc/testsuite/gcc.c-torture/execute/pr78378.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