[Bug c++/82664] [7/8 Regression ] ICE when using Match7 library

jason at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Fri Feb 16 18:01:00 GMT 2018


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

Jason Merrill <jason at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED
           Assignee|unassigned at gcc dot gnu.org      |jason at gcc dot gnu.org

--- Comment #6 from Jason Merrill <jason at gcc dot gnu.org> ---
Further reduced:

template < typename > struct target_disambiguator;
template < typename R, typename A1 > struct target_disambiguator< R(A1) > {
  typedef A1 type;
  template < R (&)() > struct layout;
};

int main() {
  typedef target_disambiguator< void (int) > ::type target_type ;
}


More information about the Gcc-bugs mailing list