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

login
register
mail settings
Submitter Tom de Vries
Date March 29, 2013, 1:06 p.m.
Message ID <20130329130605.1FFC84213AB@build1-lucid-cs>
Download mbox | patch
Permalink /patch/232396/
State New
Headers show

Comments

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



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



Thanks,

  -Tom



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

            Tom de Vries  <tom@codesourcery.com>



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

Patch

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

 z

 Driver Joined Separate

 

+fuse-caller-save

+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.