On 12/16/20 10:26 AM, Jakub Jelinek wrote:
I think this needs to be guarded based on which compiler is used to compile GCC.
Do you mean basing that on __GNUC__?
Perhaps we could say that we don't support --enable-gather-detailed-mem-stats when the compiler isn't built by GCC (or other compiler that supports the constructor attribute) and #error on that.
Yes, it's a reasonable requirement I would say. Martin
