Re: [libgfortran, patch] Remove unused headers

2016-12-21 Thread FX
> Ok. Watch out for regressions on other targets though. I have more > than once caused regressions by using some function that happened to > be included in the existing headers on glibc, but needed some other > header on other targets. Committed: https://gcc.gnu.org/viewcvs/gcc?view=revision&revi

Re: [libgfortran, patch] Remove unused headers

2016-12-21 Thread Janne Blomqvist
On Wed, Dec 21, 2016 at 12:05 PM, FX wrote: > The attached patch removes some unused headers from libgfortran sources. It > removes 320 assert.h, 31 stdlib.h, 12 string.h, 4 errno.h, and the occasional > math.h, unistd.h, and limits.h. > > I have audited all files manually, checking for function