[Bug 268497] clang15 math.h isfinite() generates unreachable-code-generic-assoc warnings
Date: Wed, 21 Dec 2022 19:10:05 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=268497 Dimitry Andric <dim@FreeBSD.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|New |Open --- Comment #1 from Dimitry Andric <dim@FreeBSD.org> --- As noted in the llvm issue, this was already fixed in https://cgit.freebsd.org/src/commit/?id=e50027e38d4f for 14-CURRENT, and cherry-picked in https://cgit.freebsd.org/src/commit/?h=stable/13&id=8432a5a4fa3c for 13-STABLE. Unfortunately this didn't make it in time for 13.1-RELEASE, so building programs using math.h with clang >= 15.0 on that version will result in those -Wunreachable-code-generic-assoc warnings. (Note that 13.1-RELEASE ships with clang 13.0.0 so most users should never run into this warning.) -- You are receiving this mail because: You are the assignee for the bug.