Skip to content

Commit d7da172

Browse files
committed
Add release note
1 parent cf1a8ee commit d7da172

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

clang/docs/ReleaseNotes.rst

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1269,6 +1269,12 @@ Sanitizers
12691269
by the compiler (for example,
12701270
``-fno-sanitize-merge=bool,enum,array-bounds,local-bounds``).
12711271

1272+
- Changed ``-fsanitize=pointer-overflow`` to no longer report ``NULL + 0`` as
1273+
undefined behavior in C, in line with
1274+
`N3322 <https://www.open-std.org/jtc1/sc22/wg14/www/docs/n3322.pdf>`_,
1275+
and matching the previous behavior for C++.
1276+
``NULL + non_zero`` continues to be reported as undefined behavior.
1277+
12721278
Python Binding Changes
12731279
----------------------
12741280
- Fixed an issue that led to crashes when calling ``Type.get_exception_specification_kind``.

0 commit comments

Comments
 (0)