[Bug c++/72774] [7 Regression] ICE on invalid C++ code on x86_64-linux-gnu (tree check: expected tree that contains ‘decl minimal’ structure, have ‘tree_list’ in consider_binding_level, at cp/name-lookup.c:4721)

bernds at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Wed Sep 21 11:16:00 GMT 2016


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

Bernd Schmidt <bernds at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |bernds at gcc dot gnu.org

--- Comment #2 from Bernd Schmidt <bernds at gcc dot gnu.org> ---
I had multidelta reduce a testcase to something that produces the same error -
most likely the same bug.

namespace __gnu_cxx __attribute__ ((__visibility__ ("default")))
{
  template < typename _Tp > struct __add_unsigned
  {
  };
  class locale;

template < typename _CharT, typename _InIter > class num_get:public
locale::facet
  {
    typedef _InIter iter_type;
    template < typename _ValueT >
      __attribute ((__abi_tag__ ("cxx11"))) iter_type
      _M_extract_int (iter_type, iter_type, int &, ios_base::iostate &,
                      _ValueT &) const;
  }
  template < typename _CharT,
    typename _InIter > template < typename _ValueT >
    __attribute ((__abi_tag__ ("cxx11"))) _InIter num_get < _CharT,
    _InIter >::_M_extract_int (_InIter __beg, _InIter __end, ios_base & __io,
                               ios_base::iostate & __err,
                               _ValueT & __v) const const
  {
    using __gnu_cxx::__add_unsigned;
    typedef __numpunct_cache < _CharT > __cache_type;


More information about the Gcc-bugs mailing list