noalias

Doug Gwyn gwyn at smoke.BRL.MIL
Tue Apr 4 06:51:42 AEST 1989


In article <12975 at watdragon.waterloo.edu> tbray at watsol.waterloo.edu (Tim Bray) writes:
>In article <9135 at alice.UUCP> dmr at alice.UUCP writes:
>>Noalias went in, but it went out again.
>Why? Inquiring minds not in the standardization community but interested in 
>optimization want to know.

This was explained before (in a C newsgroup, probably not UNIX-WIZARDS),
but here goes again, in brief:

Why it went in:

To provide optimizers a way to know when pointer aliasing was not possible,
so they could vectorize etc. to a much higher degree than allowed otherwise.

Why it went out:

The "noalias" qualification was improperly specified, and consequently
spread its influence into internals of C library routines, etc. making
a mess that conforming programs would have to contend with.  It probably
could have been fixed, but there was a big enough stink made about it
that it wasn't politically feasible to do otherwise than remove the
tainted word "noalias".  No other proposal for providing similar
function was found acceptable to a 2/3 majority of X3J11.



More information about the Comp.unix.wizards mailing list