[llvm-bugs] [Bug 52574] New: char from large FP value not raise 'invalid'

via llvm-bugs llvm-bugs at lists.llvm.org
Sun Nov 21 08:17:11 PST 2021


            Bug ID: 52574
           Summary: char from large FP value not raise 'invalid'
           Product: clang
           Version: 12.0
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P
         Component: C
          Assignee: unassignedclangbugs at nondot.org
          Reporter: tydeman at tybor.com
                CC: blitzrakete at gmail.com, dgregor at apple.com,
                    erik.pilkington at gmail.com, llvm-bugs at lists.llvm.org,
                    richard-llvm at metafoo.co.uk

Conversions of large floating-point (FP) values to many integer types does not
raise FP_INVALID as required by IEEE-754 and Annex F in C standard.

Sample code can be found at:

The problem exists on (at least) both ARM and Intel x86/x87/sse

You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20211121/a1503b13/attachment.html>

More information about the llvm-bugs mailing list