https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86736
--- Comment #4 from Richard Biener <rguenth at gcc dot gnu.org> --- Hmm, I can no longer reproduce -g0 vs -g on x86_64-linux. Ians testresults now list FAIL: g++.dg/asan/pr62017.C -O2 -flto (internal compiler error) FAIL: g++.dg/asan/pr62017.C -O2 -flto (test for excess errors) FAIL: g++.dg/asan/pr62017.C -O2 -flto -flto-partition=none (internal compiler error) FAIL: g++.dg/asan/pr62017.C -O2 -flto -flto-partition=none (test for excess errors) FAIL: g++.dg/asan/pr78651.C -O2 -flto (internal compiler error) FAIL: g++.dg/asan/pr78651.C -O2 -flto (test for excess errors) FAIL: g++.dg/asan/pr78651.C -O2 -flto -flto-partition=none (internal compiler error) FAIL: g++.dg/asan/pr78651.C -O2 -flto -flto-partition=none (test for excess errors) but I can't reproduce with pr62017.C or pr78651.C either right now.