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: [email protected]
          Reporter: [email protected]
                CC: [email protected]

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.
_______________________________________________
llvm-bugs mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to