https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86567
Jason Merrill <jason at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED CC| |dmalcolm at gcc dot gnu.org Depends on| |56856 Resolution|--- |FIXED --- Comment #7 from Jason Merrill <jason at gcc dot gnu.org> --- Fixed for GCC 9 by the patch for PR 56856, which removed that call to maybe_constant_value. Not worth backporting. Referenced Bugs: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=56856 [Bug 56856] -Wformat warnings don't show location *within* format string in C++ FE