[Bug c++/89304] Compiler runs indefinitely

2019-02-12 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89304 --- Comment #3 from Jonathan Wakely --- With -ftemplate-depth=50 it fails in about 5 seconds. -ftemplate-depth=100 takes 18s -ftemplate-depth=200 takes 1m27s So there's something quadratic in the nested tuple instantiations which means that reac

[Bug c++/89304] Compiler runs indefinitely

2019-02-12 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89304 --- Comment #2 from Jonathan Wakely --- This will work, because there's no conversion needed from tuple to tuple const, so the expected overload is more speclialized: const auto t = std::make_tuple(args...); f(t);

[Bug c++/89304] Compiler runs indefinitely

2019-02-12 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89304 Jonathan Wakely changed: What|Removed |Added Keywords||compile-time-hog Status|UN