[PATCH 03/22] Move diagnostic_show_locus and friends out into a new source file

David Malcolm dmalcolm@redhat.com
Fri Sep 18 18:31:00 GMT 2015


On Mon, 2015-09-14 at 13:35 -0600, Jeff Law wrote:
> On 09/10/2015 02:28 PM, David Malcolm wrote:
> > The function "diagnostic_show_locus" gains new functionality in the
> > next patch, so this preliminary patch breaks it out into a new source
> > file, diagnostic-show-locus.c, along with a couple of related functions.
> >
> > gcc/ChangeLog:
> > 	* Makefile.in (OBJS-libcommon): Add diagnostic-show-locus.o.
> > 	* diagnostic.c (adjust_line): Move to diagnostic-show-locus.c.
> > 	(diagnostic_show_locus): Likewise.
> > 	(diagnostic_print_caret_line): Likewise.
> > 	* diagnostic-show-locus.c: New file.
> This is fine for the trunk.

Thanks; bootstrapped®rtested; committed to trunk as r227915.

> So much for the easy stuff :-)

FWIW, I'm working on a much simpler version of the patch kit, addressing
some of the issues already raised.

> jeff
> 




More information about the Gcc-patches mailing list