[Bug c++/72764] [5/6/7 Regression] ICE on invalid C++11 code instantiating an alias template: tree check: expected class ‘type’, have ‘exceptional’ (error_mark) in typedef_variant_p, at tree.c:12660

msebor at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Thu Aug 4 15:49:00 GMT 2016


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

Martin Sebor <msebor at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |msebor at gcc dot gnu.org
      Known to fail|                            |4.8.2, 4.9.3, 5.3.0, 6.1.0,
                   |                            |7.0

--- Comment #3 from Martin Sebor <msebor at gcc dot gnu.org> ---
r191412 is the first commit that triggers the ICE:

r191412 | jason | 2012-09-17 23:47:35 -0400 (Mon, 17 Sep 2012) | 4 lines

        PR c++/54575
        * pt.c (instantiate_alias_template): New.
        (tsubst): Use it.
        (push_access_scope): Allow TYPE_DECL.


More information about the Gcc-bugs mailing list