https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86567
Jason Merrill <jason at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jason at gcc dot gnu.org --- Comment #5 from Jason Merrill <jason at gcc dot gnu.org> --- (In reply to Alexander Monakov from comment #4) > It seems a bit strange to do full-blown constexpr evaluation for warnings, > especially if normal compilation flow wouldn't perform the same evaluation. If the warning might depend on a constant value, we try to come up with a constant value for it.