https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104772
Jakub Jelinek <jakub at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jakub at gcc dot gnu.org --- Comment #4 from Jakub Jelinek <jakub at gcc dot gnu.org> --- Perhaps we could change that if (cxx_dialect < cxx23) pedwarn (input_location, OPT_Wpedantic, "%<f%d%> or %<F%d%> suffix on floating constant only " "available with %<-std=c++2b%> or %<-std=gnu++2b%>", n, n); into if (cxx_dialect < cxx23 && !in_system_header_at (input_location))