https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115775
--- Comment #1 from Sean Murthy <s.murthy at outlook dot com> --- Created attachment 58585 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=58585&action=edit Compiler output for the repro Generated with GCC 14.1 with the following command line: g++ -v -save-temps -std=c++20 -Wall -Wextra -pedantic -pedantic-errors -Werror=pedantic ..\src\main.cpp PS: The pre-processed file for the repro (on Msys2) is larger than the max attachment size permitted. I don't have a simpler source code right now.