Patchwork RFA; Add option to control combine-stack-adjustments pass

login
register
mail settings
Submitter Nick Clifton
Date Oct. 19, 2010, 11:27 a.m.
Message ID <4CBD808C.30500@redhat.com>
Download mbox | patch
Permalink /patch/68325/
State New
Headers show

Comments

Nick Clifton - Oct. 19, 2010, 11:27 a.m.
Hi Gerald,

>>      -fcombine-stack-adjustments

> would you mind also describing this in
> http://gcc.gnu.org/gcc-4.6/changes.html ?

Is this patch OK ?

Cheers
   Nick
Gerald Pfeifer - Oct. 19, 2010, 5:09 p.m.
On Tue, 19 Oct 2010, Nick Clifton wrote:
>> would you mind also describing this in
>> http://gcc.gnu.org/gcc-4.6/changes.html ?
> Is this patch OK ?

Looks good, there just seems to be a word missing around "before was 
enabled automatically"?

Thanks,
Gerald

Patch

Index: htdocs/gcc-4.6/changes.html
===================================================================
RCS file: /cvs/gcc/wwwdocs/htdocs/gcc-4.6/changes.html,v
retrieving revision 1.51
diff -u -3 -p -r1.51 changes.html
--- htdocs/gcc-4.6/changes.html	17 Oct 2010 16:06:13 -0000	1.51
+++ htdocs/gcc-4.6/changes.html	19 Oct 2010 11:26:19 -0000
@@ -82,6 +82,10 @@ 
       <li>A new switch <code>-fstack-usage</code> has been added.  It makes
       the compiler output stack usage information for the program, on a
       per-function basis, in an auxiliary file.</li>
+      <li>A new switch <code>-fcombine-stack-adjustments</code> has been added.
+      It can be used to enable or disable the compiler's stack-slot combining
+      pass before was enabled automatically at <code>-O1</code> and above, but
+      could not be controlled on its own.</li>
   </ul>
 
 <h2>Compile time and memory usage improvements</h2>