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

            Bug ID: 87750
           Summary: Failed compilation / parsing of template member call
                    after 'using' declaration
           Product: gcc
           Version: 8.2.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: mark.atkinson99 at gmail dot com
  Target Milestone: ---

Problem code: https://godbolt.org/z/3IpLz1

This is a cut down sample of real code that no longer compiles in gcc 8.x.
On godbolt the sample does not compile under 8.1, 8.2 & current trunk, but
works in previous gcc.

The first call marked (1) compiles in gcc <= 7.x, clang, msvc & icc.
The call marked (2) is accepted by gcc 5.x to 7.x and clang 7 but not clang 5 &
6.

I can work around it, but can you advise root cause.

Reply via email to