This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: fix -Werror regressions with gcc 4.8 on x86_64


> For use within glibc itself, I think we should redefine assert with NDEBUG to
> use __builtin_unreachable.

The point of NDEBUG is to optimize out the tests, not just to avoid the
file name, line number, and expression source strings.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]