Anyone that wants to write C compilers has two good books for it.
"A Retargetable C Compiler: Design and Implementation", from David R. Hanson and Christopher W. Fraser
"Compiler Design in C", from by Allen I. Holub
A bit old, but there are not significant changes to C since they were written, other than optimizers taking advantage of UB.