This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug other/69554] Multi-location diagnostics writes too many lines
- From: "manu at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Fri, 29 Jan 2016 20:14:37 +0000
- Subject: [Bug other/69554] Multi-location diagnostics writes too many lines
- Auto-submitted: auto-generated
- References: <bug-69554-4 at http dot gcc dot gnu dot org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69554
--- Comment #4 from Manuel LÃpez-IbÃÃez <manu at gcc dot gnu.org> ---
Pre rich locations, it should have looked like
# [name]:[locus]:
#
# some code
# 1
# [name]:[locus2]:
#
# some other code
# 2
# Error: Some error at (1) and (2)
# or
# [name]:[locus]:
#
# some code and some more code
# 1 2
# Error: Some error at (1) and (2)
(quoting testsuite/lib/gfortran-dg.exp)