This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Patches to enable -ftrack-macro-expansion by default
- From: Gerald Pfeifer <gerald at pfeifer dot com>
- To: Dodji Seketeli <dodji at redhat dot com>, Gabriel Dos Reis <gdr at integrable-solutions dot net>
- Cc: GCC Patches <gcc-patches at gcc dot gnu dot org>, Tom Tromey <tromey at redhat dot com>, Jason Merrill <jason at redhat dot com>, Laurynas Biveinis <laurynas dot biveinis at gmail dot com>, Benjamin De Kosnik <bkoz at redhat dot com>
- Date: Sun, 26 Aug 2012 22:00:57 +0200 (CEST)
- Subject: Re: Patches to enable -ftrack-macro-expansion by default
- References: <m3hawr8wpz.fsf@redhat.com> <m3wr4x5tn0.fsf@redhat.com> <alpine.LNX.2.00.1208260227370.5727@ghan.fvgr> <CAAiZkiAj5CUHPoe30Z9Eu02aYgmmgU-PcJTUq_ZGEXALKRTaQg@mail.gmail.com> <m34nnq8354.fsf@redhat.com>
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>