The first ANSI C standard was issued in 1989, not 1986. Are you
referring to something else that happened in 1986?
I know that the C community was eager to see the new ANSI C standard,
and that part of were implemented before the standard itself was
released. I don't have a clear idea of what the time scale was.
Yeah, that was a bit of misdirection on my side. Thanks for catching
that. I was trying to piece together a time scale in my mind while I
was typing. <g>
I remembered attending a local "J Committee" meeting in 1986 (and two
more after - 87???), and was going to offer the fact that we were
predominately arguing over what current implementations should appear
in the eventual standard as evidence that much of "ANSI stuff" was
already in common use. But my memory is just too foggy. Can't supply
vendor names or versions (except for Microsoft) so I decided to skip
going down that road. But I had "1986" stuck in my brain as the year
when we started thinking about "ANSI".
[...]
The "-noalias" option was one of the latter ideas. Don't know if I
ever used a compiler that offered that keyword. I only know I never
used it. I vaguely remember it as an optimizing option, but believe it
applied to whole code blocks not to any one variable.
We're not talking about a "-noalias" option. Early drafts
of the ANSI C standard include a "noalias" keyword. (I think
C99's "restrict" keyword is a redesigned version of the concept.)
Dennis Ritchie posted his opinion of it in this newsgroup in March
1988 <
http://www.lysator.liu.se/c/dmr-on-noalias.html>:
Noalias must go. This is non-negotiable.
It must not be reworded, reformulated or reinvented. The draft's
description is badly flawed, but that is not the problem.
The concept is wrong from start to finish. It negates
every brave promise X3J11 ever made about codifying existing
practices, preserving the existing body of code, and keeping
(dare I say it?) `the spirit of C.'
[...]
Yes I know the noalias suggestion was a keyword. The original question
was if I remembered ever using that keyword. My answer was no, but
vaguely remember there being the compiler option back then.
Ritchie sums it up for most of the fights and distinctly illustrates
what I considered emphasizing in my previous post - most of what
eventually became "standardized" in the ANSI Standard was already in
common "existing practice" before C89.
At least that is how I remember it, but seeing Mr. Sosman's and Mr.
Becarisse's posts it is now obvious that was not that "common" for
everyone and has been rather enlightening. Previous to their posts I
would have scoffed at the notion that any shop was still adhering to a
"K&R C Standard" by 1990. Can't do that now. <g>
-ralph