From patchwork Sun Aug 26 20:00:57 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: Patches to enable -ftrack-macro-expansion by default From: Gerald Pfeifer X-Patchwork-Id: 180085 Message-Id: To: Dodji Seketeli , Gabriel Dos Reis Cc: GCC Patches , Tom Tromey , Jason Merrill , Laurynas Biveinis , Benjamin De Kosnik Date: Sun, 26 Aug 2012 22:00:57 +0200 (CEST) On Sun, 26 Aug 2012, Dodji Seketeli wrote: > Gabriel Dos Reis 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.

--> - + +
    +
  • The option -ftrack-macro-expansion=2 is now + enabled by default. This allows the compiler to display the + macro expansion stack in diagnostics.
  • +