This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug other/69554] [6 Regression] Multi-location diagnostics writes too many lines
- From: "tkoenig at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Sat, 30 Jan 2016 11:05:39 +0000
- Subject: [Bug other/69554] [6 Regression] 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
Thomas Koenig <tkoenig at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|--- |6.0
Summary|Multi-location diagnostics |[6 Regression]
|writes too many lines |Multi-location diagnostics
| |writes too many lines
--- Comment #5 from Thomas Koenig <tkoenig at gcc dot gnu.org> ---
No patch is needed to expose this bug.
Test case:
ig25@linux-fd1f:/tmp> cat label.f90
program main
goto 1000
1000 continue
a = a
a = a
a = a
1000 continue
end
ig25@linux-fd1f:/tmp> gfortran label.f90
label.f90:3:4:
1000 continue
1
a = a
a = a
a = a
1000 continue
2
Error: Duplicate statement label 1000 at (1) and (2)
ig25@linux-fd1f:/tmp> /usr/bin/gfortran label.f90
label.f90:3.4:
1000 continue
1
label.f90:7.4:
1000 continue
2
Error: Duplicate statement label 1000 at (1) and (2)