https://gcc.gnu.org/bugzilla/show_bug.cgi?id=56947
Richard Biener <rguenth at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Blocks| |52026 --- Comment #3 from Richard Biener <rguenth at gcc dot gnu.org> --- Confirmed that. I suppose rejects-valid is "better" than wrong-code in some sense but the former only was for C++11 code. If there isn't a safe fix for this issue I'd consider reverting the patch for PR52026.