[Bug c++/71450] [5/6/7 Regression] ICE on invalid C++11 code on x86_64-linux-gnu: in tree check: expected record_type or union_type or qual_union_type, have template_type_parm in lookup_base, at cp/search.c:203

jakub at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Wed Nov 23 09:31:00 GMT 2016


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

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jakub at gcc dot gnu.org
            Summary|[7 Regression] ICE on       |[5/6/7 Regression] ICE on
                   |invalid C++11 code on       |invalid C++11 code on
                   |x86_64-linux-gnu: in tree   |x86_64-linux-gnu: in tree
                   |check: expected record_type |check: expected record_type
                   |or union_type or            |or union_type or
                   |qual_union_type, have       |qual_union_type, have
                   |template_type_parm in       |template_type_parm in
                   |lookup_base, at             |lookup_base, at
                   |cp/search.c:203             |cp/search.c:203

--- Comment #2 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
ICE started with r225272 when -std=c++14 has been turned on by default, with
-std=c++0x started I think with r139798 aka when auto has been implemented.


More information about the Gcc-bugs mailing list