This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/31970] New: g++ compiles incorrect c++ code
- From: "asp_ at mail dot ru" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 17 May 2007 10:43:08 -0000
- Subject: [Bug c++/31970] New: g++ compiles incorrect c++ code
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
problem with tamplates, an example of incorrect c++ code is here:
http://mx1.ru/super_example.cpp
std::set<int, node_less> b;
std::set<int>::iterator i = b.begin();
the second line should is incorrect, but compiles well.
--
Summary: g++ compiles incorrect c++ code
Product: gcc
Version: 4.1.2
Status: UNCONFIRMED
Severity: major
Priority: P3
Component: c++
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: asp_ at mail dot ru
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31970