aboutsummaryrefslogtreecommitdiff
path: root/config/acx.m4
diff options
context:
space:
mode:
authorNathaniel Shead <nathanieloshead@gmail.com>2024-07-07 23:19:52 +1000
committerNathaniel Shead <nathanieloshead@gmail.com>2024-07-18 13:08:29 +1000
commitf0c3a1c16af234b55f48cf1cfe299417f93f163c (patch)
tree2ce5916cbac2087c62144e149de6c7416e2fb728 /config/acx.m4
parent4871b0f74c6ca95261c20d5223c96d9de193bb39 (diff)
downloadgcc-releases/gcc-14.zip
gcc-releases/gcc-14.tar.gz
gcc-releases/gcc-14.tar.bz2
c++/modules: Conditionally start timer during lazy load [PR115165]releases/gcc-14
While lazy loading, instantiation of pendings can sometimes recursively perform name lookup and begin further lazy loading. When using the '-ftime-report' functionality this causes ICEs as we could start an already-running timer for the importing. This patch fixes the issue by using the 'timevar_cond*' API instead to support such recursive calls. PR c++/115165 gcc/cp/ChangeLog: * module.cc (lazy_load_binding): Use 'timevar_cond*' APIs. (lazy_load_pendings): Likewise. gcc/testsuite/ChangeLog: * g++.dg/modules/timevar-1_a.H: New test. * g++.dg/modules/timevar-1_b.C: New test. Signed-off-by: Nathaniel Shead <nathanieloshead@gmail.com>
Diffstat (limited to 'config/acx.m4')
0 files changed, 0 insertions, 0 deletions