[Bug c++/77967] ICE in cp_parser_type_name, at cp/parser.c:16419 (trying to add a method to a template alias)

marxin at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Mon Oct 17 08:49:00 GMT 2016


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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jason at redhat dot com
      Known to work|4.5.4, 4.6.4, 4.7.4, 4.8.5, |
                   |4.9.4, 5.4.0                |
            Summary|[6/7 Regression] ICE in     |ICE in cp_parser_type_name,
                   |cp_parser_type_name, at     |at cp/parser.c:16419
                   |cp/parser.c:16419 (trying   |(trying to add a method to
                   |to add a method to a        |a template alias)
                   |template alias)             |
      Known to fail|6.2.0                       |

--- Comment #2 from Martin Liška <marxin at gcc dot gnu.org> ---
Ok, the problem started with r225272 (where C++14 is selected as default
version), however adding -std=c++14 to command line options, the ICE started
with 4.9.0 (where C++14 was added).


More information about the Gcc-bugs mailing list