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 testsuite/31884] priority_queue_dijkstra.cc operates on deallocated memory



------- Comment #1 from amylaar at gcc dot gnu dot org  2007-05-10 15:02 -------
I find that the failure goes away when I assign a_it[0] to the iterator
for the current node before p.pop, and make the loop skip an iteration when it
finds that the iterator for the current neighbor is a_it[0].

Does that also work for you on powerpc?


-- 

amylaar at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |dje at watson dot ibm dot
                   |                            |com, bkoz at redhat dot com


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31884


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