https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111642
Sergei Trofimovich <slyfox at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Depends on| |111647
--- Comment #6 from Sergei Trofimovich <slyfox at gcc dot gnu.org> ---
(In reply to Sergei Trofimovich from comment #5)
> I'll try to extract smaller example.
Got the following, but I'm not sure it's valid C++:
struct poly_int {
template <typename...> constexpr poly_int() : poly_int() {}
};
template <int> void run() { poly_int(); }
Filed PR111647 and will try to extract something less invalid.
Referenced Bugs:
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111647
[Bug 111647] g++ accepts different c++ on -fchecking= anf checking=2