[Bug target/70566] [4.9/5/6 Regression] Bad ARM code generated for evaluating unsigned int bitfield value
ktkachov at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Fri Apr 8 09:40:00 GMT 2016
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70566
--- Comment #10 from ktkachov at gcc dot gnu.org ---
Author: ktkachov
Date: Fri Apr 8 09:39:44 2016
New Revision: 234825
URL: https://gcc.gnu.org/viewcvs?rev=234825&root=gcc&view=rev
Log:
[ARM] PR target/70566 Check that condition register is dead in tst-imm ->
lsls-imm Thumb2 peepholes
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:
trunk/gcc/testsuite/gcc.c-torture/execute/pr70566.c
Modified:
trunk/gcc/ChangeLog
trunk/gcc/config/arm/thumb2.md
trunk/gcc/testsuite/ChangeLog
More information about the Gcc-bugs
mailing list