When compiling the attached code, the compiler fails with the following error:
undeclared.cpp:7:3: internal compiler error: tree check: expected class ‘type’,
have ‘exceptional’ (error_mark) in maybe_adjust_types_for_deduction, at
cp/pt.c:13235


-- 
           Summary: internal compiler error in
                    maybe_adjust_types_for_deduction
           Product: gcc
           Version: 4.5.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: jarrydb at cse dot unsw dot edu dot au
 GCC build triplet: i686-pc-linux-gnu
  GCC host triplet: i686-pc-linux-gnu
GCC target triplet: i686-pc-linux-gnu


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43028

Reply via email to