[Bug c++/87663] Exorbitant compile times

2018-10-28 Thread manu at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87663 Manuel López-Ibáñez changed: What|Removed |Added CC||manu at gcc dot gnu.org --- Commen

[Bug c++/87663] Exorbitant compile times

2018-10-28 Thread lumosimann at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87663 --- Comment #5 from Lukas Mosimann --- I was able to track down the error. The problem is caused due to `set_underlying_type` in cfamily/c_common.c. I tried to disable that function by simply returning on entry - and compilation times for cc1plus

[Bug c++/87663] Exorbitant compile times

2018-10-26 Thread lumosimann at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87663 --- Comment #4 from Lukas Mosimann --- Okay one last comment from my side (sorry for this two updates in short intervals). I tried to further simplify it, and I came up with this code which I think has the same problem. ``` template struct inte

[Bug c++/87663] Exorbitant compile times

2018-10-26 Thread lumosimann at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87663 --- Comment #3 from Lukas Mosimann --- ``` template struct integral_constant { static constexpr T value = v; using value_type = T; using type = integral_constant; }; template struct F : integral_constant::value -

[Bug c++/87663] Exorbitant compile times

2018-10-22 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87663 Richard Biener changed: What|Removed |Added Keywords||compile-time-hog Status|UNC

[Bug c++/87663] Exorbitant compile times

2018-10-20 Thread lumosimann at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87663 --- Comment #1 from Lukas Mosimann --- By the way: I could drop parameter `Z` from `C` and `D`. I forgot to remove that when I was experimenting with extensions like `f_n = f_{n-1} + f_{n-2} + f_{n-3}`.