• R
    restore _Noreturn to __assert_fail · e738b8cb
    Rich Felker 提交于
    this reverts commit 2c1f8fd5. without
    the _Noreturn attribute, the compiler cannot use asserts to perform
    reachability/range analysis. this leads to missed optimizations and
    spurious warnings.
    
    the original backtrace problem that prompted the removal of _Noreturn
    was not clearly documented at the time, but it seems to happen only
    when libc was built without -g, which also breaks many other
    backtracing cases.
    e738b8cb
assert.c 243 字节