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

Martin Liška <marxin at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
      Known to work|                            |6.2.0
           Keywords|                            |ice-on-valid-code
   Last reconfirmed|                            |2016-12-12
                 CC|                            |jason at gcc dot gnu.org,
                   |                            |marxin at gcc dot gnu.org
     Ever confirmed|0                           |1
            Summary|ICE when inheriting         |[7 Regression] ICE when
                   |constructor of base class   |inheriting constructor of
                   |                            |base class
   Target Milestone|---                         |7.0
      Known to fail|                            |7.0

--- Comment #1 from Martin Liška <marxin at gcc dot gnu.org> ---
I can see following ICE with current trunk (started with r241843):

pr78767.cpp: In instantiation of ‘static Tree Tree::Create(Iter, Iter) [with
Iter = __gnu_cxx::__normal_iterator<char*, std::__cxx11::basic_string<char>
>]’:
pr78767.cpp:28:58:   required from here
pr78767.cpp:16:59: internal compiler error: in push_access_scope, at
cp/pt.c:228
   static Tree Create(Iter first, Iter last) { return Leaf{}; }

However GCC 6.2 works fine:
$ g++ --version
g++ (SUSE Linux) 6.2.1 20160830 [gcc-6-branch revision 239856]

$ g++ -std=c++14 pr78767.cpp
(no output)

Reply via email to