Re:The Ten Commandments for C Programmers (1987)
by burfog on Sunday May 24, 2020 @12:50AM
(#23289187)
That could enable optimization. The compiler could remove many NULL-pointer checks.
On many platforms, all that is required is a change to the compiler. It could emit a ".quad 0" or equivalent, in a common data section at absolute address zero. Some platforms would require linker changes or even kernel changes.
On many platforms, all that is required is a change to the compiler. It could emit a ".quad 0" or equivalent, in a common data section at absolute address zero. Some platforms would require linker changes or even kernel changes.