summaryrefslogtreecommitdiffstats
path: root/build/unix/build-gcc/PR64905.patch
diff options
context:
space:
mode:
Diffstat (limited to 'build/unix/build-gcc/PR64905.patch')
-rw-r--r--build/unix/build-gcc/PR64905.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/build/unix/build-gcc/PR64905.patch b/build/unix/build-gcc/PR64905.patch
new file mode 100644
index 000000000..b86c99b9f
--- /dev/null
+++ b/build/unix/build-gcc/PR64905.patch
@@ -0,0 +1,11 @@
+--- trunk/gcc/lra-eliminations.c 2015/02/04 20:00:48 220415
++++ trunk/gcc/lra-eliminations.c 2015/02/04 20:02:21 220416
+@@ -182,6 +182,8 @@
+ if (! value
+ && ep->from == FRAME_POINTER_REGNUM && ep->to == STACK_POINTER_REGNUM)
+ frame_pointer_needed = 1;
++ if (!frame_pointer_needed)
++ REGNO_POINTER_ALIGN (HARD_FRAME_POINTER_REGNUM) = 0;
+ }
+
+ /* Map: eliminable "from" register -> its current elimination,