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 fix Thumb addressing regressions


RTH's recent patch to strictly enforce memory constraints after reload 
tripped a number of latent bugs in the ARM back end when compiling for 
Thumb -- most of these were being caught in the back-end and being fixed 
up (to a greater or lesser extent), but not all of them.  The attached 
patches fixes two of the failures, one which occurs at build time and 
another which trips several times in the testsuite.

There might be a small impact on code quality with this change, but I'll 
address that later if necessary.

R.

2004-01-13  Richard Earnshaw  <rearnsha@arm.com>

	* arm.c (thumb_legitimate_address_p): Only allow constant pool 
	references from SImode.
	* arm.md (thumb_movhi_insn): Don't allow minipool references.


Attachment: t-mem-constraint.patch
Description: t-mem-constraint.patch


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