This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[PATCH, ARM] Fix PR44557, Thumb-1 ICE


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.

Attachment: pr44557.patch
Description: Text document


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]