public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/31970]  New: g++ compiles incorrect c++ code
@ 2007-05-17 10:43 asp_ at mail dot ru
  2007-05-17 14:47 ` [Bug c++/31970] " bangerth at dealii dot org
                   ` (9 more replies)
  0 siblings, 10 replies; 11+ messages in thread
From: asp_ at mail dot ru @ 2007-05-17 10:43 UTC (permalink / raw)
  To: gcc-bugs

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


^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2010-02-13  1:44 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-05-17 10:43 [Bug c++/31970] New: g++ compiles incorrect c++ code asp_ at mail dot ru
2007-05-17 14:47 ` [Bug c++/31970] " bangerth at dealii dot org
2007-05-18  7:56 ` asp_ at mail dot ru
2007-05-18 10:33 ` [Bug libstdc++/31970] " pcarlini at suse dot de
2007-05-18 10:33 ` pcarlini at suse dot de
2007-05-18 10:45 ` pcarlini at suse dot de
2007-05-21 15:49 ` [Bug libstdc++/31970] set<>::iterator vs type-safety pcarlini at suse dot de
2007-06-10  0:10 ` chris at bubblescope dot net
2007-06-10  0:20 ` pcarlini at suse dot de
2007-06-10  8:57 ` chris at bubblescope dot net
2010-02-13  1:44 ` paolo dot carlini at oracle dot com

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).