[clang] [Clang] [CodeGen] Fix codegen bug in constant initialisation in C23 mode (PR #84981)

via cfe-commits cfe-commits at lists.llvm.org
Tue Mar 12 18:04:28 PDT 2024


================
@@ -259,6 +259,10 @@ Bug Fixes in This Version
   operator.
   Fixes (#GH83267).
 
+- Clang no longer fails to codegen static ``const`` variables whose initialiser performs
+  a floating-point division by 0 in C23.
+  Fixes (#GH84784).
----------------
Sirraide wrote:

Oh, I thought it was, my bad. Yeah, we don’t need a release note then ofc.

https://github.com/llvm/llvm-project/pull/84981


More information about the cfe-commits mailing list