Created attachment 8421 [details] compiler output (-v)
Created attachment 8422 [details] source code (-save-temps, compressed)
Reduced testcase: template<typename t1, typename t2> t1 unique(t1 v1, t1 v2, t2 v3){} struct row { int begin() const ; int end() const; }; template<int s> void popSlot() { row ops; unique(ops.begin, ops.end); } This is invalid code.
Here is the error message: pr20549.C: In function 'void popSlot()': pr20549.C:12: internal compiler error: in resolve_overloaded_unification, at cp/pt.c:9579 Please submit a full bug report, with preprocessed source if appropriate. See <URL:http://gcc.gnu.org/bugs.html> for instructions.
: Search converges between 2003-07-08-trunk (#288) and 2003-07-09-trunk (#289).
Moving to 4.0.2 pre Mark.
*** This bug has been marked as a duplicate of 21592 ***