[Bug c++/86000] ICE with requires statement in a non constexpr if

2021-07-23 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86000 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |10.0

[Bug c++/86000] ICE with requires statement in a non constexpr if

2021-07-23 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86000 Andrew Pinski changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug c++/86000] ICE with requires statement in a non constexpr if

2019-09-24 Thread jeff.chapman.bugs at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86000 Jeff Chapman changed: What|Removed |Added CC||jeff.chapman.bugs at gmail dot com --- C

[Bug c++/86000] ICE with requires statement in a non constexpr if

2018-09-27 Thread paolo.carlini at oracle dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86000 Paolo Carlini changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug c++/86000] ICE with requires statement in a non constexpr if

2018-05-31 Thread gcc-bugs at oxyware dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86000 --- Comment #2 from Hubert Matthews --- template int f() { bool check = requires { 3 > 4; }; if (check) return 1; else return 2; } compiles cleanly and gives the expected result. This is essentially the same code but with the check

[Bug c++/86000] ICE with requires statement in a non constexpr if

2018-05-31 Thread gcc-bugs at oxyware dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86000 --- Comment #1 from Hubert Matthews --- template int f() { bool check = requires { 3 > 4; }; if (check) return 1; else return 2; } compiles cleanly and gives the expected result. This is essentially the same code but with the check