Patches to enable -ftrack-macro-expansion by default

Gerald Pfeifer gerald@pfeifer.com
Sun Aug 26 20:01:00 GMT 2012


On Sun, 26 Aug 2012, Dodji Seketeli wrote:
> Gabriel Dos Reis <gdr@integrable-solutions.net> writes:
>> I think we show the stack not just for errors, but for any diagnostics.
> I agree, FWIW.

Good point, thanks for the feedback!

I have applied the following, updated patch.

Gerald

Index: changes.html
===================================================================
RCS file: /cvs/gcc/wwwdocs/htdocs/gcc-4.8/changes.html,v
retrieving revision 1.21
diff -u -3 -p -r1.21 changes.html
--- changes.html	26 Aug 2012 13:55:23 -0000	1.21
+++ changes.html	26 Aug 2012 15:59:47 -0000
@@ -56,9 +56,13 @@ by this change.</p>
 -->
 
 
-<!--
 <h3>C family</h3>
--->
+
+  <ul>
+    <li>The option <code>-ftrack-macro-expansion=2</code> is now
+    enabled by default. This allows the compiler to display the
+    macro expansion stack in diagnostics.</li>
+  </ul>
 
 <!--
 <h3>C</h3>



More information about the Gcc-patches mailing list