Author: Sam James Date: 2023-02-22T17:12:56Z New Revision: eb9440b3d8b4cec060f8d41b3f0676c4afd9a6ea
URL: https://github.com/llvm/llvm-project/commit/eb9440b3d8b4cec060f8d41b3f0676c4afd9a6ea DIFF: https://github.com/llvm/llvm-project/commit/eb9440b3d8b4cec060f8d41b3f0676c4afd9a6ea.diff LOG: [Clang] [Doc] Explicitly note noreturn bug as a miscompilation This is for 16.x. Bug: https://github.com/llvm/llvm-project/issues/59792 Reviewed By: aaron.ballman Differential Revision: https://reviews.llvm.org/D144540 Added: Modified: clang/docs/ReleaseNotes.rst Removed: ################################################################################ diff --git a/clang/docs/ReleaseNotes.rst b/clang/docs/ReleaseNotes.rst index 525be8e762693..f33c4c5375f37 100644 --- a/clang/docs/ReleaseNotes.rst +++ b/clang/docs/ReleaseNotes.rst @@ -765,7 +765,7 @@ Bug Fixes to Attribute Support a function pointer. - In C mode, when ``e1`` has ``__attribute__((noreturn))`` but ``e2`` doesn't, - ``(c ? e1 : e2)`` is no longer considered noreturn. + ``(c ? e1 : e2)`` is no longer considered noreturn, fixing a miscompilation. (`#59792 <https://github.com/llvm/llvm-project/issues/59792>`_) - GNU attributes being applied prior to standard attributes would be handled _______________________________________________ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits