[llvm-bugs] [Bug 44979] New: __builtin_assume(false) not caught by UBSan

via llvm-bugs llvm-bugs at lists.llvm.org
Thu Feb 20 16:34:24 PST 2020


https://bugs.llvm.org/show_bug.cgi?id=44979

            Bug ID: 44979
           Summary: __builtin_assume(false) not caught by UBSan
           Product: compiler-rt
           Version: unspecified
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: ubsan
          Assignee: unassignedbugs at nondot.org
          Reporter: david at doublewise.net
                CC: llvm-bugs at lists.llvm.org

I would expect UBSan to report an error on the following code:

```
int main() {
    __builtin_assume(false);
}
```

but it does not.

Related: https://bugs.llvm.org/show_bug.cgi?id=41313

-- 
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/20200221/92621367/attachment.html>


More information about the llvm-bugs mailing list