Re: [patch] Flatten function.h take 2

2014-10-10 Thread Andrew MacLeod
On 10/10/2014 04:51 PM, Jeff Law wrote: On 09/29/14 11:23, Andrew MacLeod wrote: OK, here's take 2.. I left all the include files except ones which were duplicated as a result of the flattening. The first one was left, and any subsequent #Includes of the files were removed. we'll address "unne

Re: [patch] Flatten function.h take 2

2014-10-10 Thread Jeff Law
On 09/29/14 11:23, Andrew MacLeod wrote: OK, here's take 2.. I left all the include files except ones which were duplicated as a result of the flattening. The first one was left, and any subsequent #Includes of the files were removed. we'll address "unneeded" includes separately and all at once

Re: [patch] Flatten function.h take 2

2014-10-06 Thread Andrew MacLeod
Ping... anyone want to take a look? Andrew On 09/29/2014 01:23 PM, Andrew MacLeod wrote: On 09/16/2014 05:23 PM, Andrew MacLeod wrote: On 09/16/2014 05:12 PM, Joseph S. Myers wrote: On Tue, 16 Sep 2014, Andrew MacLeod wrote: I did an include file reduction on all the language/*.[ch] and core

[patch] Flatten function.h take 2

2014-09-29 Thread Andrew MacLeod
On 09/16/2014 05:23 PM, Andrew MacLeod wrote: On 09/16/2014 05:12 PM, Joseph S. Myers wrote: On Tue, 16 Sep 2014, Andrew MacLeod wrote: I did an include file reduction on all the language/*.[ch] and core *.[ch] files, but left the target files with the full complement of 7 includes that funct

Re: Flatten function.h

2014-09-16 Thread Andrew MacLeod
On 09/16/2014 05:12 PM, Joseph S. Myers wrote: On Tue, 16 Sep 2014, Andrew MacLeod wrote: I did an include file reduction on all the language/*.[ch] and core *.[ch] files, but left the target files with the full complement of 7 includes that function.h use to have. Its probably easier when thi

Re: Flatten function.h

2014-09-16 Thread Joseph S. Myers
On Tue, 16 Sep 2014, Andrew MacLeod wrote: > I did an include file reduction on all the language/*.[ch] and core *.[ch] > files, but left the target files with the full complement of 7 includes that > function.h use to have. Its probably easier when this is all done to fully > reduce the targets

Flatten function.h

2014-09-16 Thread Andrew MacLeod
Im currently focusing on flattening middle/backend files which are included from front-ends files so we can clean up the include interface a bit. This flattens function.h. It wasn't too bad, there were a few prototypes and defines in expr.h and rtl.h that belong in function.h, and a couple o