This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/65186] internal compiler error: in tsubst, at cp/pt.c:11738
- From: "redi at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Fri, 17 Apr 2015 10:38:10 +0000
- Subject: [Bug c++/65186] internal compiler error: in tsubst, at cp/pt.c:11738
- Auto-submitted: auto-generated
- References: <bug-65186-4 at http dot gcc dot gnu dot org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65186
Jonathan Wakely <redi at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Known to fail| |4.8.3, 4.9.2, 5.0, 6.0
Severity|minor |normal
--- Comment #3 from Jonathan Wakely <redi at gcc dot gnu.org> ---
This seems to hit the same ICE, without template aliases:
template <typename C, C> struct integral_constant {};
template <typename T, template <typename U, U> class> struct Sort;
template <template <typename U, U> class Comparator>
struct Sort<int, Comparator>
{
template <int I> struct less_than:
integral_constant<bool, Comparator<int, I>::value> {};
};
int main() {}