https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97423
--- Comment #2 from Petr Sumbera <sumbera at volny dot cz> --- Created attachment 49373 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=49373&action=edit test case Just for record. I have tried to prepare test case. Attached is preprocessed test case. Following command exhibits the same internal error: /usr/gcc/10/bin/g++ -std=gnu++17 -o Unified_cpp_dom_indexedDB0.o -c -Wall -Wempty-body -Wignored-qualifiers -Woverloaded-virtual -Wpointer-arith -Wsign-compare -Wtype-limits -Wunreachable-code -Wwrite-strings -Wno-invalid-offsetof -Wc++2a-compat -Wduplicated-cond -Wimplicit-fallthrough -Wunused-function -Wunused-variable -Wno-error=maybe-uninitialized -Wno-error=deprecated-declarations -Wno-error=array-bounds -Wno-error=coverage-mismatch -Wno-error=free-nonheap-object -Wno-multistatement-macros -Wno-error=class-memaccess -Wno-error=deprecated-copy -Wformat -Wformat-overflow=2 -Werror=implicit-function-declaration -Wno-psabi -fno-sized-deallocation -fno-aligned-new -fno-exceptions -fno-strict-aliasing -fno-rtti -ffunction-sections -fdata-sections -fno-exceptions -fno-math-errno -pthread -pipe -g -fno-omit-frame-pointer -funwind-tables -Wno-error=shadow test.cpp