https://bugs.kde.org/show_bug.cgi?id=442168
--- Comment #7 from Xavier Roche ---
(In reply to Julian Seward from comment #4)
> (In reply to Xavier Roche from comment #2)
>
> > The difference between the correctly executed code under valgrind and the
> > faulty one:
>
>
https://bugs.kde.org/show_bug.cgi?id=442168
--- Comment #6 from Xavier Roche ---
Created attachment 141820
--> https://bugs.kde.org/attachment.cgi?id=141820&action=edit
ASM diff between working program with valgrind (clang-11) and the faulty one
(clang12)
clang-12 -S -std=c++20 -stdl
https://bugs.kde.org/show_bug.cgi?id=442168
--- Comment #2 from Xavier Roche ---
Additional notes: isolating the faulty function
static double (*volatile pvalidate)(double a) = validate; // used in
minimalTest
double validate(double a)
{
return std::isfinite(a) ? a : 1.0f;
}
The
https://bugs.kde.org/show_bug.cgi?id=442168
--- Comment #1 from Xavier Roche ---
Bug also present with valgrind-3.18.0.GIT
(cadf0432290b0bc147c7b5dd54c63bc94986743c)
--
You are receiving this mail because:
You are watching all bug changes.
https://bugs.kde.org/show_bug.cgi?id=442168
Bug ID: 442168
Summary: Floating-point erroneous behavior with memecheck with
regards to class (isfinite(), etc.)
Product: valgrind
Version: 3.15 SVN
Platform: Other