2014-03-11  Chung-Lin Tang  <cltang@codesourcery.com>

	* config/nios2/nios2.c (machine_function): Add fp_save_offset field.
	(nios2_compute_frame_layout):
	Add calculation of cfun->machine->fp_save_offset.
	(nios2_expand_prologue): Correct setting of frame pointer register
	in prologue.
	(nios2_expand_epilogue): Update recovery of stack pointer from
	frame pointer accordingly.
	(nios2_initial_elimination_offset): Update calculation of offset
	for eliminating to HARD_FRAME_POINTER_REGNUM.



git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@208472 138bc75d-0d04-0410-961f-82ee72b054a4
Don't override -ffp-contract=fast if -funsafe-math-optimizations

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@208474 138bc75d-0d04-0410-961f-82ee72b054a4