On 09/12/18 12:41, Markus Wichmann wrote: > Besides, you're opening a very scary door there: The C standard's > chapter 7 contains a whole lot of UB in the library, and a compiler > writer could now say: Since it is undefined, obviously it is never going > to happen (and if it does, it is your own fault), so I can write the > optimizer to assume all arguments to functions are such that UB does not > occur. Happy early Hallowe'en: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87096 --arw -- A. Wilcox (awilfox) Project Lead, Adélie Linux https://www.adelielinux.org