https://gcc.gnu.org/bugzilla/show_bug.cgi?id=125179
--- Comment #2 from Edoardo Lolletti <edoardo762 at gmail dot com> --- (In reply to Jakub Jelinek from comment #1) > Please upload preprocessed source + g++ command line where it makes most > significant compile time difference. All the files are heavily affected by this slowdown, but I'll attach one of bigger ones that itself goes from 1 second to 4 minutes compile time. The command lines for c++17 building is g++ -MD -MP -O0 -fPIC -g -fvisibility=hidden -Wall -Wextra -std=c++17 -fno-rtti -Wno-unused-parameter -o "./preprocessed.o" -c "./preprocessed.cpp" While for reflection is g++ -MD -MP -O0 -fPIC -g -fvisibility=hidden -Wall -Wextra -std=c++26 -freflection -fno-rtti -Wno-unused-parameter -o "./preprocessed.o" -c "./preprocessed.cpp"
