https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69006

            Bug ID: 69006
           Summary: Extraneous newline emitted between error messages in
                    GCC 6
           Product: gcc
           Version: 6.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: other
          Assignee: unassigned at gcc dot gnu.org
          Reporter: dmalcolm at gcc dot gnu.org
  Target Milestone: ---

GCC 6, compared to GCC 5, now emits an extra newline between error
messages.

$ cat error.c
int x = a;
int y = b;

$ gcc-5 error.c
error.c:1:9: error: ‘a’ undeclared here (not in a function)
 int x = a;
         ^
error.c:2:9: error: ‘b’ undeclared here (not in a function)
 int y = b;
         ^
$ gcc-6 error.c
error.c:1:9: error: ‘a’ undeclared here (not in a function)
 int x = a;
         ^

error.c:2:9: error: ‘b’ undeclared here (not in a function)
 int y = b;
         ^
Started with r229884: Reimplement diagnostic_show_locus, introducing
rich_location classes.

Reply via email to