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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |ppalka at gcc dot gnu.org
            Summary|template keyword            |[10/11/12/13 Regression]
                   |incorreclty required to     |template keyword
                   |access template class       |incorreclty required to
                   |static member of            |access template class
                   |non-dependent expression    |static member of
                   |using member syntax in      |non-dependent expression
                   |dependent context           |using member syntax in
                   |                            |dependent context
      Known to work|                            |5.1.0
      Known to fail|                            |10.4.0, 11.3.0, 12.2.0,
                   |                            |13.0, 5.2.0
   Target Milestone|---                         |10.5

--- Comment #2 from Patrick Palka <ppalka at gcc dot gnu.org> ---
Testcase exhibiting a regression relative to GCC 5.1:

template <class T>
struct tag_t {
        template <class Sig>
        static const Sig* smbr();
};

template <class T>
constexpr tag_t<T> tag {};

template<class T>
void f()
{
  auto t = tag<int>.smbr<void>();
}

Started with r226642.

Reply via email to