[CDG5] MPW C 3.3.3

Elliot Nunn elliotnunn at fastmail.com
Tue Jul 2 22:22:14 AWST 2019


I want to write this somewhere before I forget!

The above-named C compiler does a bad job of variable storage allocation
(at least by modern standards). I have observed that a storage location
will only be reused if the two competing variables are declared in
different scopes. This can be triggered by the selective insertion of
braces to divide code into blocks, as a technique to get C code
round-tripping to specific assembly.


More information about the cdg5 mailing list