This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/68724] [4.9/5/6 Regression] ice in unify, at cp/pt.c:19902
- From: "nathan at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Tue, 29 Mar 2016 14:51:05 +0000
- Subject: [Bug c++/68724] [4.9/5/6 Regression] ice in unify, at cp/pt.c:19902
- Auto-submitted: auto-generated
- References: <bug-68724-4 at http dot gcc dot gnu dot org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68724
Nathan Sidwell <nathan at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |ASSIGNED
CC| |nathan at gcc dot gnu.org
Assignee|unassigned at gcc dot gnu.org |nathan at gcc dot gnu.org
--- Comment #2 from Nathan Sidwell <nathan at gcc dot gnu.org> ---
One can turn it into the syntactically correct:
template <typename _Tp, _Tp>
struct integral_constant {
};
struct X : integral_constant < bool, true >{
};
template <typename _Tp>
struct integral_constant < bool, __is_enum(_Tp)> {
};
but still get the ICE when unify meets an unexpected TRAIT_EXPR.