[Bug c++/87481] [7/8/9 Regression] Endless loop with optimisation in C++17

2019-03-22 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87481 --- Comment #9 from Jakub Jelinek --- Author: jakub Date: Fri Mar 22 14:40:59 2019 New Revision: 269874 URL: https://gcc.gnu.org/viewcvs?rev=269874&root=gcc&view=rev Log: PR c++/87481 * doc/invoke.texi (-fconstexpr-ops-limit=): D

[Bug c++/87481] [7/8/9 Regression] Endless loop with optimisation in C++17

2019-03-15 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87481 --- Comment #8 from Jakub Jelinek --- Created attachment 45977 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=45977&action=edit gcc9-pr87481.patch Updated patch based on mailing list and IRC feedback.

[Bug c++/87481] [7/8/9 Regression] Endless loop with optimisation in C++17

2019-03-07 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87481 Jakub Jelinek changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned a

[Bug c++/87481] [7/8/9 Regression] Endless loop with optimisation in C++17

2019-03-07 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87481 --- Comment #6 from Jakub Jelinek --- On struct thread { template thread(F) { } }; template void sleep_for(D) { } template struct duration { }; using milliseconds = duration; void f() { thread sleeper([]{ while (true) { for (unsi

[Bug c++/87481] [7/8/9 Regression] Endless loop with optimisation in C++17

2019-03-07 Thread paolo.carlini at oracle dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87481 Paolo Carlini changed: What|Removed |Added CC||paolo.carlini at oracle dot com --- Comm

[Bug c++/87481] [7/8/9 Regression] Endless loop with optimisation in C++17

2018-12-06 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87481 Richard Biener changed: What|Removed |Added Target Milestone|7.4 |7.5

[Bug c++/87481] [7/8/9 Regression] Endless loop with optimisation in C++17

2018-10-08 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87481 --- Comment #4 from Jakub Jelinek --- There is actually nothing weird on that, with smaller ones we terminate the inner loop early and then stop. With the debugging -O0 build I have around, the constexpr processing is very slow though, so I get a

[Bug c++/87481] [7/8/9 Regression] Endless loop with optimisation in C++17

2018-10-08 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87481 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org --- Comment #3

[Bug c++/87481] [7/8/9 Regression] Endless loop with optimisation in C++17

2018-10-02 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87481 Richard Biener changed: What|Removed |Added Priority|P3 |P2 Target Milestone|---

[Bug c++/87481] [7/8/9 Regression] Endless loop with optimisation in C++17

2018-10-01 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87481 Jonathan Wakely changed: What|Removed |Added Keywords||ice-on-invalid-code,