https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121789
--- Comment #5 from Jonathan Wakely <redi at gcc dot gnu.org> --- (In reply to Jonathan Wakely from comment #4) > If the user somehow gets their arguments wrong, we can either use memcpy to > read+write outside of bounds, or trap on __last < __first, or do nothing. To be clear, by "do nothing" I mean "do not perform a memcpy". Or phrased differently, the choices are the assume the bug never happens and let users suffer with the consequences, or trap/abort on the bug, or silently defuse the bug and make this function a no-op. I wouldn't be opposed to the trap/abort option, but I don't like the first option.
