I believe everyone here assumes the compiler works properly, as not making that assumption adds a whole new level of complexity that can’t even be dealt with without specifying the exact situation and compiler.
The Taxas Instrument one? Yes, for the DSP43 it works good, just you have to deal with some quirks. It took me over a week to understand why my imported code didn't work as expected, then I found that sizeof(char) returns 2, and ... frankly it was more frustrating than shocking: you cannot change the toolchain, you cannot modify it, and you find that in the meanwhile the managers in the US have already approved the toolchain for the job (without knowing anything
), so you cannot say "
hey? it violates this and that ... do ... do you hear me? ... ", who cares? You have been hired for the job, now you have to deal with it, so you can only push your C-quirks under a layer of assembly and go on.
C can be frustrating, this is the typical example.