[Bug rtl-optimization/70222] Test miscompiled with -O1
jakub at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Thu Jul 7 21:50:00 GMT 2016
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70222
--- Comment #14 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Thu Jul 7 21:49:58 2016
New Revision: 238140
URL: https://gcc.gnu.org/viewcvs?rev=238140&root=gcc&view=rev
Log:
Backported from mainline
2016-03-15 Jakub Jelinek <jakub@redhat.com>
PR rtl-optimization/70222
* combine.c (simplify_shift_const_1): For A >> B >> C LSHIFTRT
optimization if mode is different from result_mode, queue up masking
of the result in outer_op. Formatting fix.
* gcc.c-torture/execute/pr70222-1.c: New test.
* gcc.c-torture/execute/pr70222-2.c: New test.
Added:
branches/gcc-4_9-branch/gcc/testsuite/gcc.c-torture/execute/pr70222-1.c
branches/gcc-4_9-branch/gcc/testsuite/gcc.c-torture/execute/pr70222-2.c
Modified:
branches/gcc-4_9-branch/gcc/ChangeLog
branches/gcc-4_9-branch/gcc/combine.c
branches/gcc-4_9-branch/gcc/testsuite/ChangeLog
More information about the Gcc-bugs
mailing list