[Bug c++/72763] [5/6/7 Regression] incorrectly accepts invalid C++11 code that instantiates a non-template class
msebor at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Thu Aug 4 15:50:00 GMT 2016
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=72763
Martin Sebor <msebor at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |msebor at gcc dot gnu.org
Depends on| |72764
Known to fail| |4.8.5, 4.9.3, 5.3.0, 6.1.0,
| |7.0
--- Comment #3 from Martin Sebor <msebor at gcc dot gnu.org> ---
The test case was rejected prior to r191412 (see also bug 72764 for an ICE
caused by this commit):
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.
Referenced Bugs:
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=72764
[Bug 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
More information about the Gcc-bugs
mailing list