[Bug c++/91058] Crash involving std::variant, std::visit, templates, and static constexpr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91058 Tom Smeding changed: What|Removed |Added Status|NEW |RESOLVED Resolution|--- |WONTFIX --- Comment #3 from Tom Smeding --- Thanks for the clarification, and the very quick response Jonathan! - Tom
[Bug c++/91058] Crash involving std::variant, std::visit, templates, and static constexpr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91058 Jonathan Wakely changed: What|Removed |Added Keywords||ice-on-valid-code Status|UNCONFIRMED |NEW Last reconfirmed||2019-07-02 Known to work||10.0, 8.1.0, 8.3.0, 9.1.0 Ever confirmed|0 |1 Known to fail||7.4.1 --- Comment #2 from Jonathan Wakely --- This was fixed for GCC 8 by r251433 "Reimplement handling of lambdas in templates." That was a very large patch and not appropriate to backport to gcc-7-branch. Given that C++17 support in GCC 7 (and 8) is experimental, I think this is not a priority to fix for the final GCC 7.x release.
[Bug c++/91058] Crash involving std::variant, std::visit, templates, and static constexpr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91058 Tom Smeding changed: What|Removed |Added CC||tom.smeding at gmail dot com --- Comment #1 from Tom Smeding --- Note about the above: I am aware that this works as expected on GCC 8.3.0. However, given that 7.4.0 is still supported and used as the default compiler on Ubuntu 18.04 (which is used by a lot of people), I considered this worth reporting.