Re: [PATCH][C++] Annotate more functions with MEM-STATs

2017-04-21 Thread Richard Biener
On Sat, Feb 18, 2017 at 3:45 AM, Jason Merrill wrote: > On Fri, Feb 17, 2017 at 6:51 AM, Richard Biener wrote: >> >> The following annotates two key wrappers around copy_node in the C++ FE >> with MEM-STAT info (and with CXX_MEM_STAT_INFO this is surprisingly >> easy, without adding _stat variant

Re: [PATCH][C++] Annotate more functions with MEM-STATs

2017-02-17 Thread Jason Merrill
On Fri, Feb 17, 2017 at 6:51 AM, Richard Biener wrote: > > The following annotates two key wrappers around copy_node in the C++ FE > with MEM-STAT info (and with CXX_MEM_STAT_INFO this is surprisingly > easy, without adding _stat variants and macros as we have for the classic > way from the pre-C+

Re: [PATCH][C++] Annotate more functions with MEM-STATs

2017-02-17 Thread Richard Biener
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 wit

Re: [PATCH][C++] Annotate more functions with MEM-STATs

2017-02-17 Thread Jakub Jelinek
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 see

Re: [PATCH][C++] Annotate more functions with MEM-STATs

2017-02-17 Thread Richard Biener
On Fri, 17 Feb 2017, Richard Biener wrote: > > The following annotates two key wrappers around copy_node in the C++ FE > with MEM-STAT info (and with CXX_MEM_STAT_INFO this is surprisingly > easy, without adding _stat variants and macros as we have for the classic > way from the pre-C++ era). >

[PATCH][C++] Annotate more functions with MEM-STATs

2017-02-17 Thread Richard Biener
The following annotates two key wrappers around copy_node in the C++ FE with MEM-STAT info (and with CXX_MEM_STAT_INFO this is surprisingly easy, without adding _stat variants and macros as we have for the classic way from the pre-C++ era). It also annotates more type building functions in tree.c