[PATCH] D144540: [Clang] [Doc] Explicitly note noreturn bug as a miscompilation

Sam James via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Feb 22 00:07:42 PST 2023


thesamesam created this revision.
thesamesam added a reviewer: aaron.ballman.
Herald added a project: All.
thesamesam requested review of this revision.
Herald added a project: clang.
Herald added a subscriber: cfe-commits.

This is for 16.x.

Bug: https://github.com/llvm/llvm-project/issues/59792


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D144540

Files:
  clang/docs/ReleaseNotes.rst


Index: clang/docs/ReleaseNotes.rst
===================================================================
--- clang/docs/ReleaseNotes.rst
+++ clang/docs/ReleaseNotes.rst
@@ -345,7 +345,7 @@
   character sequence that differed from the primary source file.
   `Issue 59736 <https://github.com/llvm/llvm-project/issues/59736>`_
 - 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.
   `Issue 59792 <https://github.com/llvm/llvm-project/issues/59792>`_
 - Fix an issue that makes Clang crash on lambda template parameters. This fixes
   `Issue 57960 <https://github.com/llvm/llvm-project/issues/57960>`_


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D144540.499394.patch
Type: text/x-patch
Size: 759 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20230222/d256c42f/attachment-0001.bin>


More information about the cfe-commits mailing list