This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/72801] ICE on invalid C++ code with ill-formed class member specialization: tree check: expected class ‘expression’, have ‘type’ (integer_type) in tree_operand_check, at tree.h:3521
- From: "rguenth at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Thu, 04 Aug 2016 10:38:07 +0000
- Subject: [Bug c++/72801] ICE on invalid C++ code with ill-formed class member specialization: tree check: expected class ‘expression’, have ‘type’ (integer_type) in tree_operand_check, at tree.h:3521
- Auto-submitted: auto-generated
- References: <bug-72801-4@http.gcc.gnu.org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=72801
Richard Biener <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |ice-checking
Target Milestone|5.5 |---
Known to fail| |4.3.0
--- Comment #5 from Richard Biener <rguenth at gcc dot gnu.org> ---
It's there since variadic template support, but we issue an error before
if checking is disabled:
t.ii:17: error: 'template' (as a disambiguator) is only allowed within
templates
t.ii:17: confused by earlier errors, bailing out