This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/13810] New: [3.4/3.5 Regression] ICE on default templates


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]