public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/61512] New: libstd++ postfix operator hangs
@ 2014-06-15 15:30 srohit.pda at gmail dot com
  2014-06-15 16:44 ` [Bug c++/61512] " glisse at gcc dot gnu.org
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: srohit.pda at gmail dot com @ 2014-06-15 15:30 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61512

            Bug ID: 61512
           Summary: libstd++ postfix operator hangs
           Product: gcc
           Version: 4.4.7
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: srohit.pda at gmail dot com

Created attachment 32942
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=32942&action=edit
testcase files- source code, pre-processed code, assembly code, object code and
executable

Following code hangs forever in postfix operator.


#include <iostream>
#include <set>

int main()
{
  std::set<int> empty;
  std::set<int>::iterator iter = empty.begin() ;
  while (iter++ != empty.end())
  {
        std::cout << *iter << "\n";
  }
  return 0;
}


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

end of thread, other threads:[~2014-06-16 17:32 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-06-15 15:30 [Bug c++/61512] New: libstd++ postfix operator hangs srohit.pda at gmail dot com
2014-06-15 16:44 ` [Bug c++/61512] " glisse at gcc dot gnu.org
2014-06-16  0:09 ` srohit.pda at gmail dot com
2014-06-16  4:43 ` glisse at gcc dot gnu.org
2014-06-16  7:17 ` redi at gcc dot gnu.org
2014-06-16 13:39 ` srohit.pda at gmail dot com
2014-06-16 17:14 ` glisse at gcc dot gnu.org
2014-06-16 17:32 ` srohit.pda at gmail 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).