[Bug rtl-optimization/70222] Test miscompiled with -O1
jakub at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Tue Mar 15 16:12:00 GMT 2016
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70222
--- Comment #9 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Tue Mar 15 16:11:48 2016
New Revision: 234222
URL: https://gcc.gnu.org/viewcvs?rev=234222&root=gcc&view=rev
Log:
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:
trunk/gcc/testsuite/gcc.c-torture/execute/pr70222-1.c
trunk/gcc/testsuite/gcc.c-torture/execute/pr70222-2.c
Modified:
trunk/gcc/ChangeLog
trunk/gcc/combine.c
trunk/gcc/testsuite/ChangeLog
More information about the Gcc-bugs
mailing list