Richard Tobin wrote:
Ioannis Vranos <iv*****@nospam .no.spamfreemai l.grwrote:
>"An example of proper use:
for (register int i= 0; i < INT_MAX; ++i)
array[i] *= i;
Is there *any* C compiler out there that accepts this syntax but
has such a useless optimiser that using "register" is worthwhile?
A loop variable has to be the most obvious case where any
reasonable compiler will use a register anyway.
I seriously doubt that example. If any element of a[] is greater
than 1 it will cause overflow, and un or implementation defined
action.
--
[mail]: Chuck F (cbfalconer at maineline dot net)
[page]: <http://cbfalconer.home .att.net>
Try the download section.
--
Posted via a free Usenet account from
http://www.teranews.com