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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |ppalka at gcc dot gnu.org
     Ever confirmed|0                           |1
             Status|UNCONFIRMED                 |NEW
      Known to work|                            |6.2.0
            Summary|Using a constexpr variable  |[11/12/13/14
                   |template specialization as  |Regression]Using a
                   |default argument for        |constexpr variable template
                   |non-type template parameter |specialization as default
                   |of reference type leads gcc |argument for non-type
                   |to reject function call     |template parameter of
                   |                            |reference type leads gcc to
                   |                            |reject function call
   Last reconfirmed|                            |2023-12-17
   Target Milestone|---                         |11.5

--- Comment #1 from Patrick Palka <ppalka at gcc dot gnu.org> ---
GCC 6.1/6.2 accepts (with -std=c++17), we started ICEing on this testcase after
r7-5370-gb4ba0852099ad2, and then rejecting it after r8-7014-ge8ef9fdfb9fd4b.

Reply via email to