[Bug target/71554] Miscompilation of __builtin_mul_overflow on i686
jakub at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Thu Jun 16 10:39:00 GMT 2016
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71554
--- Comment #4 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Thu Jun 16 10:38:21 2016
New Revision: 237520
URL: https://gcc.gnu.org/viewcvs?rev=237520&root=gcc&view=rev
Log:
PR target/71554
* config/i386/i386.md (setcc + movzbl peephole2): Use reg_set_p.
(setcc + and peephole2): Likewise.
* gcc.c-torture/execute/pr71554.c: New test.
Backported from mainline
2015-04-29 Uros Bizjak <ubizjak@gmail.com>
* config/i386/i386.md (setcc+movzbl peephole2): Check also clobbered
reg.
(setcc+andl peephole2): Ditto.
Added:
branches/gcc-5-branch/gcc/testsuite/gcc.c-torture/execute/pr71554.c
Modified:
branches/gcc-5-branch/gcc/ChangeLog
branches/gcc-5-branch/gcc/config/i386/i386.md
branches/gcc-5-branch/gcc/testsuite/ChangeLog
More information about the Gcc-bugs
mailing list