[Bug c++/91058] Crash involving std::variant, std::visit, templates, and static constexpr

redi at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Tue Jul 2 15:44:00 GMT 2019


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91058

Jonathan Wakely <redi at gcc dot gnu.org> 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 <redi at gcc dot gnu.org> ---
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.


More information about the Gcc-bugs mailing list