[Bug c++/53289] unnecessary repetition of caret diagnostics

manu at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Wed May 9 21:44:00 GMT 2012


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



More information about the Gcc-bugs mailing list