diff options
author | Corentin Jabot <corentinjabot@gmail.com> | 2023-01-23 22:05:48 +0100 |
---|---|---|
committer | Corentin Jabot <corentinjabot@gmail.com> | 2023-05-01 23:21:14 +0200 |
commit | 771ad1691ac3057df2220dd327d7cdc73ef6c6f5 (patch) | |
tree | f056121d26c544994eac58415e965f578fea7394 /clang/docs | |
parent | 45351120105a7257ccb1e38ec1b1f8a452269da2 (diff) | |
download | llvm-771ad1691ac3057df2220dd327d7cdc73ef6c6f5.tar.gz |
[Clang] Fix a crash when recursively callig a default member initializer.
This fixes a regression introduced by ca61961380, that would lead
to a segfault due to stack exhaustion when recursively calling
a default member initializer.
Fixes #60082
I'm not able to get clang to emit a stack exhaustion warning,
which it seems like it should be able to.
Reviewed By: shafik
Differential Revision: https://reviews.llvm.org/D142401
Diffstat (limited to 'clang/docs')
-rw-r--r-- | clang/docs/ReleaseNotes.rst | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/clang/docs/ReleaseNotes.rst b/clang/docs/ReleaseNotes.rst index a3ee06ba1c22..34636faa36bf 100644 --- a/clang/docs/ReleaseNotes.rst +++ b/clang/docs/ReleaseNotes.rst @@ -313,8 +313,8 @@ Bug Fixes in This Version not a type concept. - Fix crash when a doc comment contains a line splicing. (`#62054 <https://github.com/llvm/llvm-project/issues/62054>`_) -- Work around with a clang coverage crash which happens when visiting - expressions/statements with invalid source locations in non-assert builds. +- Work around with a clang coverage crash which happens when visiting + expressions/statements with invalid source locations in non-assert builds. Assert builds may still see assertions triggered from this. - Fix a failed assertion due to an invalid source location when trying to form a coverage report for an unresolved constructor expression. @@ -335,6 +335,8 @@ Bug Fixes in This Version - Fix crash when attempting to perform parenthesized initialization of an aggregate with a base class with only non-public constructors. (`#62296 <https://github.com/llvm/llvm-project/issues/62296>`_) +- Fix a stack overflow issue when evaluating ``consteval`` default arguments. + (`#60082` <https://github.com/llvm/llvm-project/issues/60082>`_) Bug Fixes to Compiler Builtins ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ |