[clang] 4ea21a0 - [Clang] [NFC] Add release note about libstdc++ bug (#93059)

via cfe-commits cfe-commits at lists.llvm.org
Wed May 22 09:32:28 PDT 2024


Author: Sirraide
Date: 2024-05-22T18:32:25+02:00
New Revision: 4ea21a0261cd8599a9ffa15f5c554ab0d4bbbe27

URL: https://github.com/llvm/llvm-project/commit/4ea21a0261cd8599a9ffa15f5c554ab0d4bbbe27
DIFF: https://github.com/llvm/llvm-project/commit/4ea21a0261cd8599a9ffa15f5c554ab0d4bbbe27.diff

LOG: [Clang] [NFC] Add release note about libstdc++ bug (#93059)

Adding a release note about this as discussed in #92439. 

---------

Co-authored-by: cor3ntin <corentinjabot at gmail.com>

Added: 
    

Modified: 
    clang/docs/ReleaseNotes.rst

Removed: 
    


################################################################################
diff  --git a/clang/docs/ReleaseNotes.rst b/clang/docs/ReleaseNotes.rst
index 93b6ba59ecf9f..2b35e2162ab5b 100644
--- a/clang/docs/ReleaseNotes.rst
+++ b/clang/docs/ReleaseNotes.rst
@@ -59,6 +59,18 @@ C++ Specific Potentially Breaking Changes
 - Clang now performs semantic analysis for unary operators with dependent operands
   that are known to be of non-class non-enumeration type prior to instantiation.
 
+  This change uncovered a bug in libstdc++ 14.1.0 which may cause compile failures
+  on systems using that version of libstdc++ and Clang 19, with an error that looks
+  something like this:
+
+  .. code-block:: text
+
+    <source>:4:5: error: expression is not assignable
+    4 |     ++this;
+      |     ^ ~~~~
+
+  To fix this, update libstdc++ to version 14.1.1 or greater.
+
 ABI Changes in This Version
 ---------------------------
 - Fixed Microsoft name mangling of implicitly defined variables used for thread


        


More information about the cfe-commits mailing list