[01/10] -fuse-caller-save - Add command line option

Submitted by Tom de Vries on March 29, 2013, 1:06 p.m.


Message ID 20130329130605.1FFC84213AB@build1-lucid-cs
State New
Headers show

Commit Message

Tom de Vries March 29, 2013, 1:06 p.m.

This patch adds the -fuse-caller-save command line option.



2013-03-29  Radovan Obradovic  <robradovic@mips.com>

            Tom de Vries  <tom@codesourcery.com>

	* common.opt (fuse-caller-save): New option.

Patch hide | download patch | download mbox

diff --git a/gcc/common.opt b/gcc/common.opt

index bdbd3b6..d29b0a0 100644

--- a/gcc/common.opt

+++ b/gcc/common.opt

@@ -2549,4 +2549,8 @@  Create a position independent executable


 Driver Joined Separate



+Common Report Var(flag_use_caller_save) Optimization

+Use caller save register across calls if possible


 ; This comment is to ensure we retain the blank line above.