[PATCH, ARM] Fix offset_ok_for_ldrd_strd in Thumb1
Greta Yorsh
greta.yorsh@arm.com
Tue Oct 23 16:03:00 GMT 2012
The function offset_ok_for_ldrd_strd should return false for Thumb1, because
TARGET_LDRD and Thumb1 can be both enabled (for example, the default for
cortex-m0).
This patch fixes ICE that is caused by gcc r192678 and occurs when building
gcc with newlib for arm-none-eabi cortex-m0.
Ok for trunk?
Thanks,
Greta
ChangeLog
gcc/
2012-10-23 Greta Yorsh <Greta.Yorsh@arm.com>
* config/arm/arm.c (offset_ok_for_ldrd_strd): Return false for
Thumb1.
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: m0-ice.v2.patch.txt
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20121023/a21dfb36/attachment.txt>
More information about the Gcc-patches
mailing list