https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85104
Bug ID: 85104 Summary: double underline in a C++ error: duplicate const Product: gcc Version: 8.0 Status: UNCONFIRMED Severity: minor Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: msebor at gcc dot gnu.org Target Milestone: --- The redundant const keyword in the error below is underlined twice in GCC 8. GCC 7 underlines it just once so it seems like something is amiss. $ cat u.C && gcc -S u.C const int const i = 0; u.C:1:11: error: duplicate ‘const’ const int const i = 0; ^~~~~ -----