diff options
author | Nathan Sidwell <nathan@acm.org> | 2020-12-16 05:51:42 -0800 |
---|---|---|
committer | Nathan Sidwell <nathan@acm.org> | 2020-12-16 05:55:38 -0800 |
commit | c1ea7c68ef35d24c6264c203e04f9eb9c47a0cf6 (patch) | |
tree | e2c1b0fb8a1cdcb141cbefbfcacde142a30dd19d /gcc/fortran/resolve.c | |
parent | 151d1347c99acfcf0f5bcd8caac36dcc7353816d (diff) | |
download | gcc-c1ea7c68ef35d24c6264c203e04f9eb9c47a0cf6.zip gcc-c1ea7c68ef35d24c6264c203e04f9eb9c47a0cf6.tar.gz gcc-c1ea7c68ef35d24c6264c203e04f9eb9c47a0cf6.tar.bz2 |
c++: Fix detailed-mem-stat breakage
module.cc has a static initializer that ends up in a circular
dependency when detailed mem stats are enabled. This removes the need
for that initializer to be dynamic, and we punt to the lazy
initializing we already had inside the object in question anyway. At
the cost of an additional indirection.
gcc/cp/
* module.cc (loc_spans): Make spans a pointer, not inline.
Adjust all accesses.
Diffstat (limited to 'gcc/fortran/resolve.c')
0 files changed, 0 insertions, 0 deletions