[Bug c++/105589] [12/13 Regression] [ICE] templated type alias over std::array with bound type in template function fails

ppalka at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Fri May 13 13:28:10 GMT 2022


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

Patrick Palka <ppalka at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jason at gcc dot gnu.org,
                   |                            |ppalka at gcc dot gnu.org
   Last reconfirmed|                            |2022-05-13
     Ever confirmed|0                           |1
      Known to fail|                            |12.1.0, 13.0
      Known to work|                            |11.3.0
             Status|UNCONFIRMED                 |NEW

--- Comment #1 from Patrick Palka <ppalka at gcc dot gnu.org> ---
Started with r12-8066-g4822108e61ab87.

struct X { X(); };

struct array { X m[2]; };

template<class>
void f() {
  array w = array{};
}


More information about the Gcc-bugs mailing list