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++/53289] unnecessary repetition of caret diagnostics


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53289

--- Comment #2 from Manuel LÃpez-IbÃÃez <manu at gcc dot gnu.org> 2012-05-09 21:14:22 UTC ---
Author: manu
Date: Wed May  9 21:14:15 2012
New Revision: 187355

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=187355
Log:
2012-05-09  Manuel LÃpez-IbÃÃez  <manu@gcc.gnu.org>

    PR c++/53289
gcc/
    * diagnostic.h (diagnostic_context): Add last_location.
    * diagnostic.c (diagnostic_initialize): Initialize it.
    (diagnostic_show_locus): Use it.

Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/diagnostic.c
    trunk/gcc/diagnostic.h


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