https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117731
Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Ever confirmed|0 |1 Last reconfirmed| |2024-11-22 Assignee|unassigned at gcc dot gnu.org |pinskia at gcc dot gnu.org Status|UNCONFIRMED |ASSIGNED --- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> --- https://github.com/llvm/llvm-project/commit/5aa2f8c98cd7b05e4cb8b6c74db08cf417c2a1a6 So looking into the sanitizer code upstream, it looks like it just assumes what ever the default langauge level clang is at the time when they compile the code. So yes moving it to gnu++17 is correct. I am going to give it a go.