News for hackers. Stuff that matters.
Re:Boringcc: Proposal for a C compiler for secure software by cpeterso on Monday December 21, 2015 @04:26PM (#10773643)
clang warns about this particular usage of a null constant:

warning: indirection of non-volatile null pointer will be deleted, not trap [-Wnull-dereference] return (int)0; ^~~~~~~~ note: consider using __builtin_trap() or qualifying pointer with 'volatile'

Re:Boringcc: Proposal for a C compiler for secure software by qb45 on Monday December 21, 2015 @04:42PM (#10773729)
> warning: indirection of non-volatile null pointer will be deleted, not trap

That's a sweet little optimization :)

Probably the only reason they don't abort compilation at this point is that someone complained when it broke his tricky little macro which sometimes generates unreachable null dereference. Or something like that.