Remove version.h dependency from tree.h

Mark G. Adams mark.g.adams@sympatico.ca
Wed May 19 19:06:00 GMT 2004


gcc/tree.h includes version.h, but then makes no use of either of the
symbols in it. This patch removes the version.h include from tree.h, and
then adds it to any .c files which require it (many .c files using
symbols from version.h already included it).

Bootstrapped and tested on i686-linux with no new regressions.

gcc/ChangeLog:

2004-05-19 Mark G. Adams  <mark.g.adams@sympatico.ca>

	* tree.h: Remove include of version.h
	* c-cppbuiltin.c: Include version.h
	* diagnostic.c: Include version.h
	* dwarf2out.c: Include version.h
	* toplev.c: Include version.h
	* vmsdbgout.c: Include version.h
	* Makefile.in: Remove dependency on version.h from TREE_H, and
	add dependencies to required .o targets

gcc/java/ChangeLog:

2004-05-19 Mark G. Adams  <mark.g.adams@sympatico.ca>

	* gjavah.c: Include version.h

-------------- next part --------------
A non-text attachment was scrubbed...
Name: tree_h.patch
Type: text/x-patch
Size: 9478 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20040519/e17cc681/attachment.bin>


More information about the Gcc-patches mailing list