This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/54928] Infinite output with after ICE with macro


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]