diff mbox

[Ada] Re-enable -feliminate-unused-debug-types by default

Message ID alpine.LNX.2.00.1104030050500.6055@gerinyyl
State New
Headers show

Commit Message

Gerald Pfeifer April 2, 2011, 10:52 p.m. UTC
On Sat, 2 Apr 2011, Eric Botcazou wrote:
> The previous 7 patches paved the way to enabling 
> -feliminate-unused-debug-types again by default in Ada.  We measured a 
> 12.5% reduction in debug info size on one big application (and an even 
> larger one for another application), as well as a 0.5% reduction in 
> compilation time at -O0 -g.

Nice.  I documented this for GCC 4.7 as follows.

Gerald

Comments

Eric Botcazou April 3, 2011, 8:58 a.m. UTC | #1
> Nice.  I documented this for GCC 4.7 as follows.

Thanks.  However, "removed" is a bit of a misnomer since the option still 
exists in the compiler (the removal from gcc-interface/lang.opt is purely 
cosmetical).  Moreover, 12.5% is exactly 1/8.  So I'd suggest:

   <ul>
     <li>The command-line option <code>-feliminate-unused-debug-types</code>
-      has been removed.  Its behavior is the default now, leading to
-      a reduction in debug info size of 12% and more for relevant
-      cases.</li>
+      has been re-enabled by default, as it was for the other languages,
+      leading to a reduction in debug info size of 12.5% and more for
+      relevant cases, as well as to a small compilation speedup.</li>
   </ul>
Gerald Pfeifer April 3, 2011, 10:41 p.m. UTC | #2
On Sun, 3 Apr 2011, Eric Botcazou wrote:
> Thanks.  However, "removed" is a bit of a misnomer since the option still 
> exists in the compiler (the removal from gcc-interface/lang.opt is purely 
> cosmetical).  Moreover, 12.5% is exactly 1/8.  So I'd suggest:

Looks good.  And sorry for stealing that 0.5%. :-)

Gerald
diff mbox

Patch

Index: changes.html
===================================================================
RCS file: /cvs/gcc/wwwdocs/htdocs/gcc-4.7/changes.html,v
retrieving revision 1.4
diff -u -r1.4 changes.html
--- changes.html	27 Mar 2011 18:57:39 -0000	1.4
+++ changes.html	2 Apr 2011 22:50:50 -0000
@@ -46,6 +46,13 @@ 
 
 <h3>Ada</h3>
 
+  <ul>
+    <li>The command-line option <code>-feliminate-unused-debug-types</code>
+      has been removed.  Its behavior is the default now, leading to
+      a reduction in debug info size of 12% and more for relevant
+      cases.</li>
+  </ul>
+
 <h3>C family</h3>
 
 <h3>C++</h3>