diff options
author | Manuel López-Ibáñez <manu@gcc.gnu.org> | 2012-10-24 22:01:50 +0000 |
---|---|---|
committer | Manuel López-Ibáñez <manu@gcc.gnu.org> | 2012-10-24 22:01:50 +0000 |
commit | dfa3226153fbfe4999f2af6d916fd597e1d5ce3e (patch) | |
tree | 583600b9236c0cc119d94c2ca69748fab0849e77 /libgcc | |
parent | 093183112063759e754e67fc60d80458e4133692 (diff) | |
download | gcc-dfa3226153fbfe4999f2af6d916fd597e1d5ce3e.zip gcc-dfa3226153fbfe4999f2af6d916fd597e1d5ce3e.tar.gz gcc-dfa3226153fbfe4999f2af6d916fd597e1d5ce3e.tar.bz2 |
re PR c++/54928 (Infinite output with after ICE with macro)
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.
From-SVN: r192786
Diffstat (limited to 'libgcc')
0 files changed, 0 insertions, 0 deletions