On Fri, 17 Feb 2017, Jakub Jelinek wrote: > On Fri, Feb 17, 2017 at 01:22:57PM +0100, Richard Biener wrote: > > And even unify CXX_MEM_STAT_INFO and MEM_STAT_INFO, also dropping support > > for host compilers < GCC 4.8, GCC 4.8 introduced __builtin_FILE and > > friends (you'd have to bootstrap with older host compilers or clang > > which doesn't seem to support those either and still claims to be > > GCC 4.2.1 ...). > > Do you mean drop support for host < GCC 4.8 if detailed mem stats gathering > is requested, or dropping support for such host compilers altogether? > I have no problem with the former, big problem with the latter.
The former, and it would just make stage1 more-or-less behave as if detailed mem stats gathering would be disabled (with a simple-minded approach GATHER_STATISTICS would still be 1 but all MEM_STAT_DECL, etc. would expand to nothing, thus require __builtin_FILE () support). Richard.