[Bug libstdc++/59391] std::sort will go out of std::vector bounds and crash

2013-12-08 Thread awwafa at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59391 --- Comment #3 from Ahmed Wafa --- Yes, it works fine for 4.9 and 4.8.2, i can see that the fix for Bug 58437 take care of this problem. This now can be closed, not a duplicate, but as indirectly fixed.

[Bug libstdc++/59391] std::sort will go out of std::vector bounds and crash

2013-12-04 Thread awwafa at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59391 --- Comment #1 from Ahmed Wafa --- // The following is shortest array that will reproduce that problem const int int_array[] = {1, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2};

[Bug libstdc++/59391] New: std::sort will go out of std::vector bounds and crash

2013-12-04 Thread awwafa at gmail dot com
Component: libstdc++ Assignee: unassigned at gcc dot gnu.org Reporter: awwafa at gmail dot com $ gcc -v Using built-in specs. Target: x86_64-redhat-linux Configured with: ../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --with-bugurl=http