diff options
author | Filip Kastl <fkastl@suse.cz> | 2025-03-20 11:54:59 +0100 |
---|---|---|
committer | Filip Kastl <fkastl@suse.cz> | 2025-03-20 13:32:43 +0100 |
commit | a1363f8dd8037d40e9fbf04c2ba8d6d3e7e5c269 (patch) | |
tree | c579542fffc08671d316ff4aa8fe61b8739a6882 /libstdc++-v3/testsuite/ext/mt_allocator | |
parent | 7cc40201a135112824e44edeeb29017151652402 (diff) | |
download | gcc-master.zip gcc-master.tar.gz gcc-master.tar.bz2 |
I increment the index variable in a loop even when I do
vec::unordered_remove() which causes the vector traversal to miss some
elements. Mikael notified me of this mistake I made in my last patch.
gcc/ChangeLog:
* gimple-ssa-sccopy.cc (scc_copy_prop::propagate): Don't
increment after vec::unordered_remove().
Reported-by: Mikael Morin <mikael@gcc.gnu.org>
Signed-off-by: Filip Kastl <fkastl@suse.cz>
Diffstat (limited to 'libstdc++-v3/testsuite/ext/mt_allocator')
0 files changed, 0 insertions, 0 deletions