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

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
      Known to work|                            |10.1.0
   Target Milestone|---                         |12.5
             Status|UNCONFIRMED                 |NEW
      Known to fail|                            |11.1.0, 14.1.0
     Ever confirmed|0                           |1
   Last reconfirmed|                            |2024-08-10
            Summary|ICE: tree check: expected   |[12/13/14/15 Regression]
                   |record_type or union_type   |ICE: tree check: expected
                   |or qual_union_type, have    |record_type or union_type
                   |bound_template_template_par |or qual_union_type, have
                   |m in access_in_type, at     |bound_template_template_par
                   |cp/search.cc:663            |m in access_in_type, at
                   |                            |cp/search.cc:663

--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Confirmed.
Slightly cleaned up testcase:
```
class A { enum Enum{}; };

template <typename E,
         template<typename> class Alloc>
struct B :  Alloc<E>,  A
{
};

template <typename E,
          template<typename> class Alloc>
int B<E, Alloc>::abcde( Enum m) { }
```

Reply via email to