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

login
register
mail settings
Submitter Tom de Vries
Date March 30, 2013, 5:10 p.m.
Message ID <20130330171045.698A9421213@build1-lucid-cs>
Download mbox | patch
Permalink /patch/232532/
State New
Headers show

Comments

Tom de Vries - March 30, 2013, 5:10 p.m.
Vladimir,

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

Thanks,
  -Tom

2013-03-30  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.