[Bug target/70566] [4.9/5 Regression] Bad ARM code generated for evaluating unsigned int bitfield value
ktkachov at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Wed Apr 13 08:25:00 GMT 2016
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70566
--- Comment #13 from ktkachov at gcc dot gnu.org ---
Author: ktkachov
Date: Wed Apr 13 08:24:43 2016
New Revision: 234931
URL: https://gcc.gnu.org/viewcvs?rev=234931&root=gcc&view=rev
Log:
[ARM] PR target/70566 Check that condition register is dead in tst-imm ->
lsls-imm Thumb2 peepholes
Backport from mainline
2016-04-08 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
PR target/70566
* config/arm/thumb2.md (tst + branch-> lsls + branch
peephole below *orsi_not_shiftsi_si): Require that condition
register is dead after the peephole.
(second peephole after the above): Likewise.
* gcc.c-torture/execute/pr70566.c: New test.
Added:
branches/gcc-4_9-branch/gcc/testsuite/gcc.c-torture/execute/pr70566.c
Modified:
branches/gcc-4_9-branch/gcc/ChangeLog
branches/gcc-4_9-branch/gcc/config/arm/thumb2.md
branches/gcc-4_9-branch/gcc/testsuite/ChangeLog
More information about the Gcc-bugs
mailing list