llvm-test-suite icon indicating copy to clipboard operation
llvm-test-suite copied to clipboard

Remove signed integer overflow from test

Open nmosier opened this issue 1 year ago • 1 comments

Remove signed integer overflow from SingleSource/Regression/C/gcc-c-torture/execute/950704-1.c, which invoked undefined behavior. clang at HEAD just compiles this program to a single abort statement (w/ -O3 flag).

nmosier avatar Jan 12 '24 20:01 nmosier

d10245e added fwrapv to the flags for this test, so the overflow shouldn't be an issue, while preserving the original test. Is this change still needed?

fhahn avatar Jan 16 '24 09:01 fhahn