[Bug c++/54928] Infinite output with after ICE with macro
manu at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Wed Oct 24 22:02:00 GMT 2012
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54928
--- Comment #10 from Manuel López-Ibáñez <manu at gcc dot gnu.org> 2012-10-24 22:01:54 UTC ---
Author: manu
Date: Wed Oct 24 22:01:50 2012
New Revision: 192786
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=192786
Log:
2012-10-24 Manuel López-Ibáñez <manu@gcc.gnu.org>
PR c++/54928
* tree-diagnostic.c (maybe_unwind_expanded_macro_loc):
Use diagnostic_append_note.
* diagnostic.c (diagnostic_build_prefix): Make diagnostic const.
(default_diagnostic_finalizer): Do not destroy prefix here.
(diagnostic_report_diagnostic): Destroy it here.
(diagnostic_append_note): New.
* diagnostic.h (diagnostic_append_note): Declare.
Modified:
trunk/gcc/ChangeLog
trunk/gcc/ada/s-fore.ads
trunk/gcc/diagnostic.c
trunk/gcc/diagnostic.h
trunk/gcc/tree-diagnostic.c
More information about the Gcc-bugs
mailing list