https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111660
--- Comment #9 from Hwang Joonhyung <envia at envia dot pe.kr> --- (In reply to Andrew Pinski from comment #6) > (In reply to Hwang Joonhyung from comment #0) > > It took more than 30 minutes when I compiled testcase.cc with g++ 14.0.0 > > 20231001 on Debian GNU/Linux 12 with -std=gnu++2a (or gnu++20, c++2a, > > c++20). > > I guess it is a regression because it finishes within 0.1 second with g++ > > 13.2.0 or 12.3.0. > > The testcase is based on GetOneCharToken() of V8. > > Does -fno-checking solve the performance issue? No. It took almost the same time. I used -std=gnu++2a -fno-checking.