https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119551
Jason Merrill <jason at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Ever confirmed|0 |1 Last reconfirmed| |2025-03-31 Status|UNCONFIRMED |NEW --- Comment #1 from Jason Merrill <jason at gcc dot gnu.org> --- Yeah, a TU-local value is currently an exposure for a constexpr variable, but not a non-constexpr inline variable; I think it would make sense to change https://eel.is/c++draft/basic.link#14.2 to not ignore the initializer of a non-constexpr inline variable.