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++/31315] New: internal compiler error on mis-spelled syntax


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


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