This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[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


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.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]