https://bugs.kde.org/show_bug.cgi?id=485276
--- Comment #6 from Paul Floyd ---
│ 244 _LIBCPP_INLINE_VISIBILITY
│ 245 _LIBCPP_CONSTEXPR_SINCE_CXX20 ~__optional_destruct_base()
│ 246 {
│ > 247 if (__engaged_)
│ 248 __val_.~value_type();
https://bugs.kde.org/show_bug.cgi?id=485276
--- Comment #5 from Paul Floyd ---
I can reproduce this on FreBSD 14 arm64 with clang++ 18.0.0
==14165== Conditional jump or move depends on uninitialised value(s)
==14165==at 0x210A30: ~__optional_destruct_base (optional:247)
==14165==by
https://bugs.kde.org/show_bug.cgi?id=485276
--- Comment #4 from Mark Wielaard ---
(In reply to Mark Wielaard from comment #3)
> I am unable to replicate this with either clang version 17.0.6 or 18.1.2,
> not with -O2 or -O1.
On x86_64. Missed that the original report was against arm64 (sorry).
https://bugs.kde.org/show_bug.cgi?id=485276
Mark Wielaard changed:
What|Removed |Added
CC||m...@klomp.org
--- Comment #3 from Mark
https://bugs.kde.org/show_bug.cgi?id=485276
--- Comment #2 from Paul Floyd ---
With debuginfo it might be OK to suppress this.
--
You are receiving this mail because:
You are watching all bug changes.
https://bugs.kde.org/show_bug.cgi?id=485276
--- Comment #1 from m ---
Forgot to mention that O1 can be used instead of O2 as a workaround, or
clang-16 or earlier should also work as a workaround.
--
You are receiving this mail because:
You are watching all bug changes.
https://bugs.kde.org/show_bug.cgi?id=485276
Paul Floyd changed:
What|Removed |Added
CC||pjfl...@wanadoo.fr
--
You are receiving this
https://bugs.kde.org/show_bug.cgi?id=485276
m changed:
What|Removed |Added
Summary|std::optional use: |std::optional use:
|"Conditional jump or