https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106780
--- Comment #1 from Richard Biener <rguenth at gcc dot gnu.org> --- > cat t.C #include <regex> > /space/rguenther/install/gcc-12.1/bin/g++ -S t.C -Wall -Wextra > -pedantic-errors <nothing> I can't reproduce. So can you provide a testcase?