C99 spelling of "asm".
Tony Finch
dot@dotat.at
Mon Jun 2 16:32:00 GMT 2003
"David O'Brien" <obrien@FreeBSD.org> wrote:
>
>My read of the C99 standard is that "asm(...)" should be accepted by
>"gcc -std=c99 -pedantic":
Section J.5 is very similar to section G.5 in ISO 9899:1990, so this
is not a C99 issue. You appear to have missed the fact that the
annexes are not normative, and that J.5 starts with the text:
The following extensions are widely used in many systems, but are not
portable to all implementations. The inclusion of any extension that
may cause a strictly conforming program to become invalid renders an
implementation nonconforming. Examples of such extensions are new
keywords, extra library functions declared in standard headers, or
predefined macros with names that do not begin with an underscore.
Tony.
--
f.a.n.finch <dot@dotat.at> http://dotat.at/
NORTH FORELAND TO SELSEY BILL: SOUTHWEST 3 OR 4 DECREASING 2 OR 3, BACKING
SOUTHEAST. CLOUDY, MISTY, PERIOD RAIN THEN RISK SHOWERS. GOOD FALLING
MODERATE IN MIST, RAIN OR ANY SHOWERS. SLIGHT DECREASING SMOOTH TO SLIGHT.
More information about the Gcc
mailing list