Fix Thumb2 testsuite fallout.

Applied for Jiong.

2014-07-30  Jiong Wang  <jiong.wang@arm.com>

	* config/arm/arm.c (arm_get_frame_offsets): Adjust condition for
	Thumb2.

From-SVN: r213304
This commit is contained in:
Jiong Wang 2014-07-30 16:24:12 +00:00 committed by Ramana Radhakrishnan
parent 3fa699d1d3
commit e58d3b417c
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2014-07-30 Jiong Wang <jiong.wang@arm.com>
* config/arm/arm.c (arm_get_frame_offsets): Adjust condition for
Thumb2.
2014-07-30 Tom Tromey <tromey@redhat.com>
PR c/59855

View File

@ -20803,7 +20803,7 @@ arm_get_frame_offsets (void)
|| !(TARGET_LDRD && current_tune->prefer_ldrd_strd)))
{
reg = 3;
if (!(TARGET_LDRD && current_tune->prefer_ldrd_strd))
if (!TARGET_THUMB2)
prefer_callee_reg_p = true;
}
if (reg == -1