stable

clang-7.0.1-6.fc29

FEDORA-2019-33b0baf601 created by sergesanspaille 5 years ago for Fedora 29

How to install

Updates may require up to 24 hours to propagate to mirrors. If the following command doesn't work, please retry later:

sudo dnf upgrade --refresh --advisory=FEDORA-2019-33b0baf601

This update has been submitted for testing by sergesanspaille.

5 years ago

This update has been pushed to testing.

5 years ago
User Icon besser82 commented & provided feedback 5 years ago
karma

Works great! LGTM! =)

User Icon dridi commented & provided feedback 5 years ago

I'm not giving karma because it solves the isnan.c reproducer, but doesn't solve the similar problem I'm facing.

I will try to submit a reproducer to the bugzilla ticket, but I see no reason to block this release since it's already an improvement.

User Icon dridi commented & provided feedback 5 years ago

There you go, reproducer:

$ cat isnan.c 
#include <assert.h>
#include <math.h>

int main(void)
{
  double foo = 1.0;

  assert(!isnan(foo));
  return 0;
}
$ clang -Wdouble-promotion -Wall -o isnan isnan.c
isnan.c:8:17: warning: implicit conversion increases floating-point precision: 'double' to 'long double' [-Wdouble-promotion]
  assert(!isnan(foo));
          ~~~~~~^~~~
/usr/include/math.h:928:46: note: expanded from macro 'isnan'
#  define isnan(x) __MATH_TG ((x), __isnan, (x))
                   ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~
/usr/include/math.h:846:16: note: expanded from macro '__MATH_TG'
   : FUNC ## l ARGS)
     ~~~~~~~~~ ^~~~
/usr/include/assert.h:106:11: note: expanded from macro 'assert'
      if (expr)                                                         \
          ^~~~
1 warning generated.

I will add it to the bugzilla ticket.

User Icon cserpentis commented & provided feedback 5 years ago
karma

works for me

This update has reached 7 days in testing and can be pushed to stable now if the maintainer wishes

5 years ago
User Icon filiperosset commented & provided feedback 5 years ago
karma

no regressions noted

This update has been submitted for batched by bodhi.

5 years ago

This update has been submitted for stable by bodhi.

5 years ago

This update has been pushed to stable.

5 years ago

Please login to add feedback.

Metadata
Type
bugfix
Karma
3
Signed
Content Type
RPM
Test Gating
Settings
Unstable by Karma
-3
Stable by Karma
3
Stable by Time
disabled
Dates
submitted
5 years ago
in testing
5 years ago
in stable
5 years ago
BZ#1472437 glibc: Can't compile libvirt with clang: implicit conversion increases floating-point precision in isnan()
0
0

Automated Test Results