$target.h vs $target-protos.h

2018-02-18 Thread Sandra Loosemore
The internals manual says that a backend for $target should have $target.h and $target-protos.h files, but doesn't say what the difference between them is or what belongs in which file. Current practice seems to be a mix of (1) $target.h contains macro definitions and $target-protos.h contain

Re: $target.h vs $target-protos.h

2018-02-18 Thread Joseph Myers
On Sun, 18 Feb 2018, Sandra Loosemore wrote: > So what is the purpose of having a separate $target-protos.h? It looks like the original explanation was , "Because tm_p.h needs to be included after tree.h and rtl.h.". It's certainly sti

gcc-8-20180218 is now available

2018-02-18 Thread gccadmin
Snapshot gcc-8-20180218 is now available on ftp://gcc.gnu.org/pub/gcc/snapshots/8-20180218/ and on various mirrors, see http://gcc.gnu.org/mirrors.html for details. This snapshot has been generated from the GCC 8 SVN branch with the following options: svn://gcc.gnu.org/svn/gcc/trunk revision

Re: $target.h vs $target-protos.h

2018-02-18 Thread Sandra Loosemore
On 02/18/2018 12:10 PM, Joseph Myers wrote: On Sun, 18 Feb 2018, Sandra Loosemore wrote: So what is the purpose of having a separate $target-protos.h? It looks like the original explanation was , "Because tm_p.h needs to be included a