From: utzoo!decvax!ittvax!sii!mem
Newsgroups: net.misc,net.micro
Title: big C problem
Article-I.D.: sii.158
Posted: Tue Sep 14 21:56:53 1982
Received: Thu Sep 16 01:42:27 1982

c
I've written a program in C which has about 1500 executable
statements.  Running it through Whitesmith's compiler created a
piece of 68000 code which, without any runtime library, was
11008 bytes big.  Going through and declaring some variables
'register' brought it to 9.2kb, but this is still ridiculous.
Anybody know of: a better compiler, a post-processor for the
assembly language made by whitesmiths C, or anything else?
I might add that the problem seems to be that Whitesmith's compiler
doesn't make good use of registers (it doesn't remember that it has
something in a register, it will use the same register for all 
operations, and it will only take 3 register declarations when
there are more than three regs available)... thus the thought
of a post-processor for assembler language is, though ugly, a
possibility.

Mark Mallett
decvax!sii!mem