This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/31315] New: internal compiler error on mis-spelled syntax
- From: "ahmadyan at gmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 22 Mar 2007 16:54:46 -0000
- Subject: [Bug c++/31315] New: internal compiler error on mis-spelled syntax
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
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