This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/13810] New: [3.4/3.5 Regression] ICE on default templates
- From: "pinskia at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 22 Jan 2004 08:22:50 -0000
- Subject: [Bug c++/13810] New: [3.4/3.5 Regression] ICE on default templates
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
I do not know if this is valid or invalid code but it still ICEs and it is a regression from
3.3.3. I found this while trying to reduce PR 13809.
>From Phil's regression hunter: Search converges between 2002-12-27-trunk (#177) and
2002-12-28-trunk (#178).
namespace std
{
template<typename> struct less{};
template<typename> struct allocator{};
template<typename A, template<typename> class B = std::less<A>,
template<typename> class C = std::allocator<A> > struct set{};
}
--
Summary: [3.4/3.5 Regression] ICE on default templates
Product: gcc
Version: 3.4.0
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: c++
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: pinskia at gcc dot gnu dot org
CC: gcc-bugs at gcc dot gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13810