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

Jonathan Wakely <redi at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |ice-on-valid-code
     Ever confirmed|0                           |1
   Last reconfirmed|                            |2020-03-31
      Known to work|                            |9.2.0
            Summary|static_cast from std::array |[9 Regression] static_cast
                   |operator[] to enum class    |from std::array operator[]
                   |                            |to enum class
      Known to fail|                            |9.3.0
             Status|UNCONFIRMED                 |NEW

--- Comment #1 from Jonathan Wakely <redi at gcc dot gnu.org> ---
You didn't say what gcc options you're using, and since this only happens with
C++17 or C++20 (not the default options) that's not very helpful.

Confirmed for -std=gnu++17

Reply via email to