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

Jonathan Wakely <redi at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|---                         |FIXED

--- Comment #2 from Jonathan Wakely <redi at gcc dot gnu.org> ---
I put the wrong PR number in the commit message, but this was fixed on trunk
by:

commit r15-6926-g6f85a97248fdff15aadc9514c1118eee0293d256
Date:   Wed Jan 15 09:33:55 2025 +0000

    libstdc++: Fix reversed args in unreachable assumption [PR109849]

    libstdc++-v3/ChangeLog:

            PR libstdc++/109849
            * include/bits/vector.tcc (vector::_M_range_insert): Fix
            reversed args in length calculation.

and on gcc-14 by commit r14-11215-g7df6af205f5c9853c4d70b5b8172b0483179c891

Thanks for noticing this and reporting it!

Reply via email to