diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 003f01206072..daa0458c6f2a 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +2016-12-16 Wilco Dijkstra + + * config/arm/arm.c (thumb_core_reg_alloc_order): Swap R12 and R14. + 2016-12-16 Claudiu Zissulescu * config/arc/arc.md (call_prof): Remove. diff --git a/gcc/config/arm/arm.c b/gcc/config/arm/arm.c index 899c001bf897..d0104f99a2e9 100644 --- a/gcc/config/arm/arm.c +++ b/gcc/config/arm/arm.c @@ -27633,7 +27633,7 @@ arm_mangle_type (const_tree type) static const int thumb_core_reg_alloc_order[] = { 3, 2, 1, 0, 4, 5, 6, 7, - 14, 12, 8, 9, 10, 11 + 12, 14, 8, 9, 10, 11 }; /* Adjust register allocation order when compiling for Thumb. */