[PATCH, ARM] Fix PR44557, Thumb-1 ICE
Chung-Lin Tang
cltang@codesourcery.com
Thu Dec 9 10:23:00 GMT 2010
Hi,
this patch fixes the ICE in PR44557. It now occurs on trunk only under
quite specific option conditions, but debugging this PR leaded to quite
obvious Thumb-1 fixes.
Also added a simplified testcase, derived from the one on bugzilla.
Tested without regressions, okay to commit to trunk?
Thanks,
Chung-Lin
2010-12-09 Chung-Lin Tang <cltang@codesourcery.com>
PR target/44557
* config/arm/arm.h (PREFERRED_RELOAD_CLASS): Add CORE_REGS to
Thumb-1 return LO_REGS case.
* config/arm/arm.md (reload_inhi): Change scratch constraint
from 'r' to 'l'.
testsuite/
* gcc.target/arm/pr44557.c: New.
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: pr44557.patch
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20101209/8ffa38da/attachment.ksh>
More information about the Gcc-patches
mailing list