I tried to compile the following code, but I got "internal compiler error: in
lookup_member, at cp/search.c:1288" from g++.

        v.reserve(10); v.push_back(1); v.push_back(2);
        copy( v.begin() , v.end(). ostream_iterator<int>(cout, "\n") );

P.S. the correct code should have "," after v.end(). not "."


-- 
           Summary: internal compiler error on mis-spelled syntax
           Product: gcc
           Version: 3.4.2
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: ahmadyan at gmail dot com
 GCC build triplet: 3.4.2 release


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

Reply via email to