https://gcc.gnu.org/bugzilla/show_bug.cgi?id=122625
Nathaniel Shead <nshead at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Ever confirmed|0 |1
CC| |nshead at gcc dot gnu.org
Last reconfirmed| |2025-11-13
Status|UNCONFIRMED |NEW
--- Comment #5 from Nathaniel Shead <nshead at gcc dot gnu.org> ---
Confirmed; reduced:
// a.cpp
export module M;
struct integral_constant {
void f() const {}
};
struct span {
template <int> static constexpr integral_constant __v{};
};
export inline void format() {
span::__v<1>.f();
}
// b.cpp
int main() {
format();
}
The reduced code works on 15.2, fails on trunk; I'll need to bisect to see what
caused the regression.