draft ANSI standard: needs your tomatoes

Tim Smith tim at ism780c.UUCP
Fri Dec 12 08:37:34 AEST 1986


> * you can declare a function to be const or volatile.

Hey, this could be nice for those people who write code that changes
itself.  If a function is declared volatile, then the compiler could
follow each instruction with a "flush instruction cache" instruction.

Or the compiler could arrange to put the function in a page that is
marked non-cached if the mmu supports that sort of thing.

I can hardly wait for the next obfuscated C code contest...
-- 
emordnilapregnolanalpanama

Tim Smith       USENET: sdcrdcf!ism780c!tim   Compuserve: 72257,3706
                Delphi or GEnie: mnementh



More information about the Comp.lang.c mailing list