diff options
author | Jose Quaresma <quaresma.jose@gmail.com> | 2024-07-26 16:48:36 +0100 |
---|---|---|
committer | Steve Sakoman <steve@sakoman.com> | 2024-08-01 06:08:09 -0700 |
commit | 73481baaa992633dd935e2a700480b6a98823b4c (patch) | |
tree | e5319a110bf99fa82cf2456585887a74c54e25b7 /scripts/lib/devtool/ide_sdk.py | |
parent | 27a526f1e7829f7bc6c6afdd64241d269efcdb28 (diff) | |
download | poky-73481baaa992633dd935e2a700480b6a98823b4c.tar.gz |
openssh: drop rejected patch fixed in 8.6p1 release
The rationale [1] is that C11 6.5.6.9 says:
"""
When two pointers are subtracted, both shall point to elements of the
same array object, or one past the last element of the array object; the
result is the difference of the subscripts of the two array elements.
"""
In these cases the objects are arrays of char so the result is defined,
and we believe that the compiler incorrectly trapping on defined behaviour.
I also found https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63303
("Pointer subtraction is broken when using -fsanitize=undefined") which seems to support this position.
[1] https://bugzilla.mindrot.org/show_bug.cgi?id=2608
(From OE-Core rev: ea9b6812e2e547767d430a05f4f9282f6988468a)
Signed-off-by: Jose Quaresma <jose.quaresma@foundries.io>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit cf193ea67ca852e76b19a7997b62f043b1bca8a1)
Signed-off-by: Jose Quaresma <jose.quaresma@foundries.io>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Diffstat (limited to 'scripts/lib/devtool/ide_sdk.py')
0 files changed, 0 insertions, 0 deletions