[Bug target/52294] [4.7 Regression] [ARM Thumb] generated asm code produces "branch out of range" error in gas with -Os -mcpu=cortex-a9
rearnsha at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Wed Feb 22 00:05:00 GMT 2012
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52294
--- Comment #10 from Richard Earnshaw <rearnsha at gcc dot gnu.org> 2012-02-21 23:51:21 UTC ---
Author: rearnsha
Date: Tue Feb 21 23:51:16 2012
New Revision: 184454
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=184454
Log:
PR target/52294
* thumb2.md (thumb2_shiftsi3_short): Split register and
immediate shifts. For register shifts tie operands 0 and 1.
(peephole2 for above): Check that register-controlled shifts
have suitably tied operands.
Modified:
branches/gcc-4_5-branch/gcc/ChangeLog
branches/gcc-4_5-branch/gcc/config/arm/thumb2.md
More information about the Gcc-bugs
mailing list