http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24985
--- Comment #48 from Manuel López-Ibáñez <manu at gcc dot gnu.org> 2012-04-13 19:40:53 UTC --- (In reply to comment #47) > Jonathan's proposed output looks fine to me. The "candidates are" note had a > source location for the sake of dejagnu, but we can deal with that by > adjusting > the prune.exp note handling. OK, so I will do that. > But I also want a general solution to the issue of multiple diagnostics with > the same source location; overload resolution isn't the only example. Yes, we should disable the caret if the last caret printed was at the same location. > I think suppressing the caret by default for notes makes sense. There are a lot of notes that give useful info with carets. Like "declared here". And notes are used for macro expansion. Anyway, I will have to add some kind of inform_without_locus("") to implement the above, so if we decide to switch all notes to use it, the implementation will be ready.