<div id=AOLMsgPart_0_2a776251-3b3f-4b91-ba92-95aa044d4db2 style="FONT-SIZE: 12px; MARGIN: 0px; COLOR: #000; FONT-FAMILY: Tahoma, Verdana, Arial, Sans-Serif; BACKGROUND-COLOR: #fff">There is absolutely nothing forcing a C compiler to put the array "y" on the stack. A smart compiler will treat the array exactly as though it was "static const", and therefore put it at a global fixed address, since that saves time and space. <br>
=================================================<br>
I've seen compiler ads that claim to adhere to an ANSI standard, but until this message I had never heard of a standard for 'smart compilers'. I assume this means that they make subtle changes in where to put variables as they attempt to outguess the carbon based masters. Do they leave a summary of changes they make at the end? Can you you disable the 'smart' feature with a #pragma dumb so it works just like an ANSI compiler and puts the stuff where I tell it?<br>
</div>
<!-- end of AOLMsgPart_0_2a776251-3b3f-4b91-ba92-95aa044d4db2 --><div class="AOLPromoFooter">
<hr style="margin-top:10px;" />
AOL now offers free email to everyone. Find out more about what's free from AOL at <a href="http://www.aol.com?ncid=AOLAOF00020000000437" target="_blank"><b>AOL.com</b></a>.<br />
</div>